Re: working with a reverse proxy

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

 



On Tue, Feb 27, 2024 at 9:49 PM Marc <Marc@xxxxxxxxxxxxxxxxx> wrote:
>
> Should I for instance set headers, and in the proxied website should I check on such headers? (Btw this is php). Or are there other things available like HTTP_X_FORWARDED_FOR

mod_proxy should add the "X-Forwarded-Host" header (i.e.
HTTP_X_FORWARDED_HOST in cgi/php) with the value of defaulthost, when
forwarding the request to proxyhost. This is the default behaviour,
unless "ProxyAddHeaders off".


Regards;
Yann.

---------------------------------------------------------------------
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