httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <>
Subject Re: [users@httpd] RewriteRule : How to retain Apache Host in the url
Date Fri, 12 Nov 2010 10:31:51 GMT
On Fri, Nov 12, 2010 at 10:16 AM, Sai A <> wrote:
> More specifically, look at the
> ProxyPass and ProxyPassReverse directives that are present in mod_proxy.
> There is another directive called PreserveProxyHost that
> you'll have to set to on and the URL won't change in the address bar (HTTP
> header).
> Sai

That isn't what *ProxyPreserveHost* does. If ProxyPreserveHost is set
to true, then the proxied request will retain the same Host header as
the original request to the proxy. If it is not set, mod_proxy_http
will replace the originally requested host header with the host
specified in the ProxyPass line.

for more details.



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