>
> i've got squid set up as an accelerator in front of multiple apache
> webservers.
>
> the apache servers are logging each request as coming from the squid
> server - there's no information about the client's hostname. i suppose i
> can use squid's access.log to get around that.
>
> however, php applications are also logging each user as coming from the
> squid server. it would be nice to log the actual hostname or IP address.
>
> is there anyway with squid and apache to pass through or otherwise spoof
> REMOTE_HOST so that it contains the client's IP address?
>

Client details are passed thru by default unless turned off.
They appear in the X-Forwarded-For: header instead of the usual Client-*:
headers.

Amos


Reply via email to