>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-Thanks Yehuda! Cloudflare wants you to install its mod. Is it possible to use what i already have to do this, which is apache?On Thu, Oct 24, 2013 at 9:32 PM, Chris Arnold <carnold@xxxxxxxxxxxxxxxxxxx> 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?