On Wed, Oct 02, 2002 at 05:50:25PM +0300, Dag Nygren wrote:
BTW. Is there any good documentation on VHM ? It took me a long time to figure out that VirtualHostBase is a literal and shouldn't be replaced with anything as I tried to do. Have still not figured out what VirtualHostRoot does ;-( I've found the following page the most useful in this respect:
Thanks, I needed that !
Scenario: - Apache as frontend with ProxyPass rules - ZServer should serve a certain address, say http://www.xx.com/zopeit from a certain sub"floder" in the Zope hierarchy.
Hope this helps,
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. Anyway, your advice was very much appreciated. BRGDS Dag Nygren
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... No ProxyPassReverse is needed. Cheers, Evan @ 4-am
participants (2)
-
Dag Nygren -
Evan Simpson