[Zope] Virtual hosting with VHM

Adam Getchell AdamG@hrrm.ucdavis.edu
Wed, 9 Oct 2002 14:26:54 -0700


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C26FDA.96C45C80
Content-Type: text/plain

All, 
 
Okay I see that VirtualHostBase doesn't work unless it is seen as an
incoming URL. Since I want to process incoming requests from one site to go
to a specific folder, I tried the example rule:
 
ucdra.ucdavis.edu:80/ucdra

Which, according to the documentation, should publish /ucdra when
ucdra.ucdavis.edu:8080 is visited. Unfortunately, it does not.
 
Suggestions?
 
Thanks again,

-----Original Message-----
From: Adam Getchell [mailto:AdamG@hrrm.ucdavis.edu] 
Sent: Wednesday, October 09, 2002 2:13 PM
To: zope@zope.org
Subject: [Zope] Virtual hosting with VHM



Hello all, 

I've been looking at the VHM documentation: 

 <http://www.zope.org/Members/4am/SiteAccess2/vhosting>
http://www.zope.org/Members/4am/SiteAccess2/vhosting 

 <http://www.zope.org/Members/bowerymarc/squid-zserver-virtual>
http://www.zope.org/Members/bowerymarc/squid-zserver-virtual 

I don't want to use a DTML method or squid with webmin, I'd like to just use
the VHM. So I'm looking at the example here:

 
<http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.
stx>
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.s
tx 

I want the request for  <http://ucdra.ucdavis.edu/>
http://ucdra.ucdavis.edu/ to go to  <http://ucdra.ucdavis.edu/ucdra>
http://ucdra.ucdavis.edu/ucdra (a virtually hosted folder in front. I have
Squid redirecting from port 80 to 8080). Looking at the example, I think my
rule in VHM should be:

ucdra.ucdavis.edu:8080/VirtualHostBase/http/ucdra.ucdavis.edu/ucdra:80 #!
Path not found 

But the #! Path not found tells me I've made an error. What is it? 

Thanks, 

***************************     
*       Adam Getchell
AdamG@hrrm.ucdavis.edu 
*       System Architect/Programmer                     (530) 752-1584 
*       Human Resources Information Systems
<http://www.hr.ucdavis.edu/> http://www.hr.ucdavis.edu/ 
***************************     
"Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu 




------_=_NextPart_001_01C26FDA.96C45C80
Content-Type: text/html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=140242221-09102002><FONT face=Arial color=#0000ff size=2>All, 
</FONT></SPAN></DIV>
<DIV><SPAN class=140242221-09102002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=140242221-09102002><FONT face=Arial color=#0000ff size=2>Okay I 
see that VirtualHostBase doesn't work unless it is seen as an incoming URL. 
Since I want to process incoming requests from one site to go to a specific 
folder, I&nbsp;tried the example rule:</FONT></SPAN></DIV>
<DIV><SPAN class=140242221-09102002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=140242221-09102002><FONT face=Arial color=#0000ff 
size=2>ucdra.ucdavis.edu:80/ucdra<BR></FONT></SPAN></DIV>
<DIV><SPAN class=140242221-09102002><FONT face=Arial color=#0000ff size=2>Which, 
according to the documentation, should publish /ucdra when 
ucdra.ucdavis.edu:8080 is visited. Unfortunately, it does 
not.</FONT></SPAN></DIV>
<DIV><SPAN class=140242221-09102002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=140242221-09102002><FONT face=Arial color=#0000ff 
size=2>Suggestions?</FONT></SPAN></DIV>
<DIV><SPAN class=140242221-09102002><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=140242221-09102002><FONT face=Arial color=#0000ff size=2>Thanks 
again,</DIV></FONT></SPAN>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT 
  face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> Adam Getchell 
  [mailto:AdamG@hrrm.ucdavis.edu] <BR><B>Sent:</B> Wednesday, October 09, 2002 
  2:13 PM<BR><B>To:</B> zope@zope.org<BR><B>Subject:</B> [Zope] Virtual hosting 
  with VHM<BR><BR></FONT></DIV>
  <P><FONT face=Arial size=2>Hello all,</FONT> </P>
  <P><FONT face=Arial size=2>I've been looking at the VHM documentation: 
  </FONT></P>
  <P><A href="http://www.zope.org/Members/4am/SiteAccess2/vhosting"><U><FONT 
  face=Arial color=#0000ff 
  size=2>http://www.zope.org/Members/4am/SiteAccess2/vhosting</FONT></U></A> 
</P>
  <P><A 
  href="http://www.zope.org/Members/bowerymarc/squid-zserver-virtual"><U><FONT 
  face=Arial color=#0000ff 
  size=2>http://www.zope.org/Members/bowerymarc/squid-zserver-virtual</FONT></U></A> 
  </P>
  <P><FONT face=Arial size=2>I don't want to use a DTML method or squid with 
  webmin, I'd like to just use the VHM. So I'm looking at the example 
  here:</FONT></P>
  <P><A 
  href="http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx"><U><FONT 
  face=Arial color=#0000ff 
  size=2>http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.stx</FONT></U></A> 
  </P>
  <P><FONT face=Arial size=2>I want the request for </FONT><A 
  href="http://ucdra.ucdavis.edu/"><U><FONT face=Arial color=#0000ff 
  size=2>http://ucdra.ucdavis.edu/</FONT></U></A><FONT face=Arial size=2> to go 
  to </FONT><A href="http://ucdra.ucdavis.edu/ucdra"><U><FONT face=Arial 
  color=#0000ff size=2>http://ucdra.ucdavis.edu/ucdra</FONT></U></A><FONT 
  face=Arial size=2> (a virtually hosted folder in front. I have Squid 
  redirecting from port 80 to 8080). Looking at the example, I think my rule in 
  VHM should be:</FONT></P>
  <P><FONT face=Arial 
  size=2>ucdra.ucdavis.edu:8080/VirtualHostBase/http/ucdra.ucdavis.edu/ucdra:80 
  #! Path not found</FONT> </P>
  <P><FONT face=Arial size=2>But the #! Path not found tells me I've made an 
  error. What is it?</FONT> </P>
  <P><FONT face=Arial size=2>Thanks,</FONT> </P>
  <P><FONT face="Courier New" 
  size=2>***************************&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR><FONT 
  face="Courier New" size=2>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Adam 
  Getchell&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AdamG@hrrm.ucdavis.edu</FONT> 
  <BR><FONT face="Courier New" size=2>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  System Architect/Programmer&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (530) 752-1584</FONT> <BR><FONT 
  face="Courier New" size=2>*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Human 
  Resources Information Systems&nbsp;&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><A 
  href="http://www.hr.ucdavis.edu/"><U><FONT face="Courier New" color=#0000ff 
  size=2>http://www.hr.ucdavis.edu/</FONT></U></A> <BR><FONT face="Courier New" 
  size=2>***************************&nbsp;&nbsp;&nbsp;&nbsp; </FONT><BR><FONT 
  face="Courier New" size=2>"Invincibility is in oneself, vulnerability in the 
  opponent." -- Sun Tzu</FONT> </P><BR><BR></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C26FDA.96C45C80--