Re: [users@httpd] remote_host / remote_addr and Apache as a Reverse Proxy

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

 



On 6/27/06, Richard de Vries <richard_devries@xxxxxxxxx> wrote:
Hi,

Is there any directive that can be set to have Apache
as a reverse proxy report REMOTE_HOST and REMOTE_ADDR
properly? (instead of those variables being set to the
proxy server?)

(Third time we've seen this question in the past week or so.)

Apache sends the X-Forwarded-For header on the request to the origin
server.  If you are asking if it is possible for apache to set the
actual IP address that is seen by the origin server, then the answer
is no, this is not even theoretically possible.  The origin server
gets this information from the TCP/IP connection information, not from
anything sent by the proxy.

Joshua.

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