[Zope] Re: VirtualHostMonster

Evan Simpson evan@4-am.com
Tue, 08 Oct 2002 14:48:36 -0500


Dag Nygren wrote:
> Thanks for the long and thorough explanation. It seems to work now
> after I "resorted" to rewrite rules. For some reason I tried to avoid those
> and get by with only ProxyPass rules, but it seems like that is not possible.

If your setup is relatively simple, you should be able to use ProxyPass. 
  For example, the following:

RewriteRule ^/(.*) 
http://localhost:8080/VirtualHostBase/http/www.foo.com:80/subfoo/VirtualHostRoot/$1 
[P,L]

...could be replaced with:

ProxyPass / 
http://localhost:8080/VirtualHostBase/http/www.foo.com:80/subfoo/VirtualHostRoot

No ProxyPassReverse is needed.

Cheers,

Evan @ 4-am