On Tue, Jan 02, 2007, Odhiambo WASHINGTON wrote:

> Is there something that I need to put in squid.conf so that it can
> "forward" to apache the actual details (IP, name) of the connecting
> host for logging?
> 
> I'd like to be able generate access stats for the websites using
> apache logs.

It will be; Squid will be setting X-Forwarded-For with the details of the
origin host.

I believe there's a way to log the contents of that particular header
in apache.log but I don't have it on hand at the moment.



Adrian

-- 
- Xenion - http://www.xenion.com.au/ - VPS Hosting - Commercial Squid Support -

Reply via email to