Re: RewriteRule : How to retain Apache Host in the url

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

 



On Fri, Nov 12, 2010 at 10:16 AM, Sai A <arialwinds@xxxxxxxxx> 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.

See http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypreservehost
for more details.

Cheers

Tom

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-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