I am doing some work with a large organization that has recently acquired
two products that work properly through a reverse proxy system only when
ProxyPreserveHost is set to on.

The organization had issue as they are mandated to have only a single
hostname as a point of entry for their web applications. They have many
technologies in the backend for web applications, and use different
context roots and proxies to manage a reverse proxy system to a few dozen
back end boxes.

As ProxyPreserveHost can only work on a virtual host level, I could not
properly configure the web server to deal both with these applications and
the current configuration at the same time (as it broke all the back end
technologies).


To solve this I made changes to mod_proxy specifically for them, but if
there is interest I can provide the code changes back to apache to
incorporate into the next release.

Effectively, I added a new command that mirrors the idea of separate
ProxyPass lines, example :

ProxyPreserveHostURL /idm/
ProxyPreserveHostURL /SepApp/


This effectively does the same as PreserveProxyHost, but only when the
URL's start off with the supplied parameter.


If people feel this is a worthwhile addition to the main code base, please
let me know and I'll pass it back.





-- 
Jeffrey Burgoyne
Chief Technology Officer
KCSI Keenuh Consulting Services Inc
www.keenuh.com
[email protected]




Reply via email to