httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Simon <>
Subject [users@httpd] ProxyPreserveHost directive
Date Thu, 16 Oct 2003 18:20:28 GMT
Are there any dangers in using 'ProxyPreserveHost On'
while reverse proxying like this:

client --> [proxy server box] --> [application

I'm not interested in doing named Virtual Hosting. I'd
like the server environment variable, HTTP_HOST, to
refer to the proxy server NOT the various application
boxes. More specifically, I'd like php's
$_SERVER['HTTP_HOST'] variable on the application
server be the proxy server name.

Is there a better way besides hard coding it?

TIA - Paul

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message