httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Helmut Schneider" <>
Subject [users@httpd] mod_proxy, ProxyPreserveHost, multiple host headers, mod_rewrite
Date Tue, 18 Sep 2012 21:06:15 GMT

I want to use apache as proxy for multiple web sites. So far, so good:

ProxyPass /app2 http://app2/
ProxyPassReverse /app2 http://app2/
ProxyPass / http://app1/
ProxyPassReverse / http://app1/

The problem is that "app1" needs "ProxyPreserveHost on" while app2
needs it "off".

I found but
wasn't able to get that working on 2.2. Should it work with 2.2?

If not would it work with mod_rewrite? I'm not sure what to rewrite,

Thanks, Helmut

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message