[Zope] Virtual Host Monster problems

John Morton John Morton <jwm@plain.co.nz>
Thu, 22 Feb 2001 13:07:27 +1300 (NZDT)


On Wed, 7 Feb 2001 13:39:50 +1300 (NZDT) John Morton <jwm@plain.co.nz> wrot=
e:

> I'm having some difficulties getting the virtual host monster object doin=
g
> what it ought to be doing.=20
>=20
> My set up is Apache doing proxy pass thing to the magic virtual host
> monster path names on a Zope 2.2.5 install that's using Site Access
> 2.0.0b4. What it's suceeding in doing is serving pages from the name
> virtual URLs; what it's not doing is translating internal page links at
> all.
>=20
> The wierd thing is that I got the whole thing working without a hitch on =
a
> very similar install at home, yesterday. The only differences of note are
> that this instance of Zope has a few more products installed (can't tell
> you which at this stage) and that the home install was a fresh name
> virtual setup, where as the problem one started out as a SiteRoot name
> virtual setup and is being converted to use the Virtual Host Monster
> method.

This doesn't work:

  ProxyPass / http://192.168.254.3:9673/VirtualHostBase/http/zope.plain.co.=
nz//VirtualHostRoot/
  ProxyPassReverse / http://192.168.254.3:9673/VirtualHostBase/http/zope.pl=
ain.co.nz//VirtualHostRoot/

This does:

  ProxyPass / http://192.168.254.3:9673/VirtualHostBase/http/zope.plain.co.=
nz:80//VirtualHostRoot/
  ProxyPassReverse / http://192.168.254.3:9673/VirtualHostBase/http/zope.pl=
ain.co.nz:80//VirtualHostRoot/

Note the port 80 bits. Go Figure.

John