[Zope] Apache ProxyPass and VirtualHostMonster

Timothy Wilson wilson@visi.com
Sat, 19 May 2001 08:43:19 -0500 (CDT)


Hi everyone,

I'm trying to get virtual hosting going with a VirtualHostMonster. I use
Apache and ProxyPass like this for the root of my site (with a SiteRoot):

<VirtualHost 111.222.333.444>
        ServerName foo.org
        ProxyPass / http://localhost:8080/
        ProxyPassReverse / http://localhost:8080/
        ProxyPass /misc_ http://localhost:8080/misc_
        ProxyPass /p_ http://localhost:8080/p_
</VirtualHost>

I've created a VirtualHostMonster in the root of my Zope, and now I'd like
to make a subfolder into a virtual host. For example, I want /spam to be at
spam.foo.org. If I have the following configuration, I see my site at
spam.foo.org, but spam.foo.org/manage gives a traceback and a "Resource not
found" error.

<VirtualHost 555.666.777.888>
        ServerName spam.foo.org
        ProxyPass /
http://localhost:8080/VirtualHostBase/http/spam.isd197.org/spam/VirtualHostRoot
        ProxyPassReverse /
http://localhost:8080/VirtualHostBase/http/spam.isd197.org/spam/VirtualHostRoot
        ProxyPass /misc_
http://localhost:8080/VirtualHostBase/http/spam.isd197.org/spam/VirtualHostRoot/misc_
        ProxyPass /p_
http://localhost:8080/VirtualHostBase/http/spam.isd197.org/spam/VirtualHostRoot/p_
</VirtualHost>

What am I missing?

-Tim

--
Tim Wilson      |   Visit Sibley online:   | Check out:
Henry Sibley HS |  http://www.isd197.org   | http://www.zope.org
W. St. Paul, MN |                          | http://slashdot.org
wilson@visi.com |  <dtml-var pithy_quote>  | http://linux.com