Re: [squid-users] Reverse Proxy and Apache logging

From: Adrian Chadd <adrian@dont-contact.us>
Date: Tue, 2 Jan 2007 18:29:25 +0800

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 -
Received on Tue Jan 02 2007 - 03:26:01 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:00 MST