The X-Forwarded-For header is set by Apache automatically (
http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#x-headers). Your inside
servers need to know to use it. CloudFlare has some documentation about how
to handle this on different servers:
https://support.cloudflare.com/hc/en-us/sections/200038166-How-do-I-restore-original-visitor-IP-to-my-server-logs-

- Y


On Thu, Oct 24, 2013 at 9:32 PM, Chris Arnold
<carn...@electrichendrix.com>wrote:

> Apache 2.2 (i believe) on sles11. We have some servers behind our apache
> (reverse) proxy. When connections come in to apache and apache proxies the
> connections, the logs show the apache proxy ip. We need to see the
> originating ip. I have seen on the internet that x-forwarded-for will do
> this. Can anyone provide some config doc or guidance for x-forwarded-for?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
>

Reply via email to