On 8/08/2014 12:31 p.m., Brendan Kearney wrote: > On Fri, 2014-08-08 at 11:48 +1200, Jason Haar wrote: >> Googling "apache x-forwarded-for" led me to mod_extract_forwarded >> >> http://www.openinfo.co.uk/apache/ >> > > from the apache mod_proxy page: >
mod_proxy is about making Apache into a reverse-proxy. *generating* the X-Forwarded-For headers etc. The query was about passing the client IP through Squid to be *received* in Apache. The answer is to: use the forwarded_for directive in squid.conf. read the contents from X-Forwarded-For in Apache config. Amos