[Zope] Virtual hosting with VHM

Adam Getchell AdamG@hrrm.ucdavis.edu
Wed, 9 Oct 2002 14:12:36 -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_01C26FD8.97B1DBB0
Content-Type: text/plain

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.s
tx
<http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/VirtualHosting.
stx> 

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_01C26FD8.97B1DBB0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2654.45">
<TITLE>Virtual hosting with VHM</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2 FACE=3D"Arial">Hello all,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I've been looking at the VHM =
documentation: </FONT>
</P>

<P><A =
HREF=3D"http://www.zope.org/Members/4am/SiteAccess2/vhosting"><U><FONT =
COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">http://www.zope.org/Members/4am/SiteAccess2/vhosting</FON=
T></U></A>
</P>

<P><A =
HREF=3D"http://www.zope.org/Members/bowerymarc/squid-zserver-virtual"><U=
><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">http://www.zope.org/Members/bowerymarc/squid-zserver-virt=
ual</FONT></U></A>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">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=3D"http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/Virt=
ualHosting.stx"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">http://www.zope.org/Documentation/Books/ZopeBook/2_6Editi=
on/VirtualHosting.stx</FONT></U></A>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">I want the request for </FONT><A =
HREF=3D"http://ucdra.ucdavis.edu/"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Arial">http://ucdra.ucdavis.edu/</FONT></U></A><FONT SIZE=3D2 =
FACE=3D"Arial"> to go to </FONT><A =
HREF=3D"http://ucdra.ucdavis.edu/ucdra"><U><FONT COLOR=3D"#0000FF" =
SIZE=3D2 =
FACE=3D"Arial">http://ucdra.ucdavis.edu/ucdra</FONT></U></A><FONT =
SIZE=3D2 FACE=3D"Arial"> (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 SIZE=3D2 =
FACE=3D"Arial">ucdra.ucdavis.edu:8080/VirtualHostBase/http/ucdra.ucdavis=
.edu/ucdra:80 #! Path not found</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">But the #! Path not found tells me =
I've made an error. What is it?</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Arial">Thanks,</FONT>
</P>

<P><FONT SIZE=3D2 FACE=3D"Courier =
New">***************************&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">*&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 SIZE=3D2 FACE=3D"Courier =
New">*&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 SIZE=3D2 FACE=3D"Courier =
New">*&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Human Resources Information =
Systems&nbsp;&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </FONT><A =
HREF=3D"http://www.hr.ucdavis.edu/"><U><FONT COLOR=3D"#0000FF" SIZE=3D2 =
FACE=3D"Courier New">http://www.hr.ucdavis.edu/</FONT></U></A>
<BR><FONT SIZE=3D2 FACE=3D"Courier =
New">***************************&nbsp;&nbsp;&nbsp;&nbsp; </FONT>
<BR><FONT SIZE=3D2 FACE=3D"Courier New">&quot;Invincibility is in =
oneself, vulnerability in the opponent.&quot; -- Sun Tzu</FONT>
</P>
<BR>
<BR>

</BODY>
</HTML>
------_=_NextPart_001_01C26FD8.97B1DBB0--