mod_proxy, ProxyPreserveHost, multiple host headers, mod_rewrite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux