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/VirtualHost... [P,L]
...could be replaced with:
ProxyPass / http://localhost:8080/VirtualHostBase/http/www.foo.com:80/subfoo/VirtualHost...
That is what I had, with the slight diff. that I needed a proxy rule that didn't start from root on my Apache ie: ProxyPass /mysub http://localhost:8080/VirtualHostBase/http/www.foo.com:80/subf oo/VirtualHostRoot And this didn't work but for the first page, as all the references in Zope were relative to /. Never could figure out how to change that.... Thanks for the advice anyway, lot's of friendly and knowledgeable people here. Dag
Dag Nygren wrote:
That is what I had, with the slight diff. that I needed a proxy rule that didn't start from root on my Apache ie:
ProxyPass /mysub http://localhost:8080/VirtualHostBase/http/www.foo.com:80/subf oo/VirtualHostRoot
Ah, in that case you want: ProxyPass /mysub http://localhost:8080/VirtualHostBase/http/www.foo.com:80/subfoo/VirtualHost... The "_vh_X" directly after the VirtualHostRoot inserts "X" at the start of all generated URLs. Cheers, Evan @ 4-am
participants (2)
-
Dag Nygren -
Evan Simpson