Re: [squid-users] httpd_accel logs only cache IP

From: Squid Support (Henrik Nordstrom) <hno@dont-contact.us>
Date: Mon, 8 Apr 2002 11:04:41 +0200

On Monday 08 April 2002 06:21, Robert Collins wrote:
> > -----Original Message-----
> > From: Devon Harding [mailto:sire@bellsouth.net]
> > Sent: Monday, April 08, 2002 2:20 PM
> > To: squid-users@squid-cache.org
> > Subject: [squid-users] httpd_accel logs only cache IP
> >
> >
> > I'm running squid with httpd_accel mode with multiple virtual
> > servers with their own log files.  the problem I'm having is
> > that apache is logging the ip of the cache (httpd_accel)
> > instead of the real accessing IP.  How do I get squid to
> > forward the real IP to apache instead of its own?
>
> You don't. Use the squid log files as well/instead of the apace
> logs.

Well... you could teach Apache to log X-Forwarded-For..

-- 
MARA Systems AB, Giving you basic free Squid support
Customized solutions, packaged solutions and priority support
available on request
Received on Mon Apr 08 2002 - 03:25:04 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:29 MST