[users@httpd] Re: reverse proxy - forward ip

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

 



allan juul wrote:
> hello,
>
> we have on the same machine an apache2 in front (80) of a backend web
> server (8000) in a reverse proxy set up. the backend sees the proxied
> requests from the apache as coming from localhost.
> we are in a situation were we need the backend to see the request coming
> from anything but localhost.

Add a header 'X-Forwarded-For' with mod_headers, and then log the value of
that header in the backend application.

Joost


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