httpd-users mailing list archives

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

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 http://www.debian-administration.org/users/lee/weblog/25 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,
"HOST:"?!

Thanks, Helmut


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message