Re: [squid-users] referer_log doesn't seem to work in a reverse proxy

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 22 May 2001 22:34:29 +0200

Thanks. Bug entered into our bugtracking database, and patch applied and
will be in 2.4.STABLE2.

--
Henrik Nordstrom
Squid Hacker
Marcel de Riedmatten wrote:
> 
> On Wed, May 16, 2001 at 04:53:47PM +0200, Peter Kassies wrote:
> > Hello all,
> 
> [cut]
> 
> > My problem is that the referer_log file is still at 0 bytes. This cannot be
> > right. I have created a site with a clickthrough possibility, and it isn't
> > logging the http_referer.
> >
> > Has anybody had simular experiences? Or can point me in the right direction?
> >
> 
> I look into that. The variable holding the logfile struct just had no value
> assigned. Here is a patch:
> 
> diff -urN squid-2.4-200105182300.orig/src/referer.c
> squid-2.4-200105182300/src/referer.c
> --- squid-2.4-200105182300.orig/src/referer.c   Fri Jan 12 01:51:51 2001
> +++ squid-2.4-200105182300/src/referer.c        Mon May 21 17:47:37 2001
> @@ -49,7 +49,7 @@
>         debug(40, 1) ("Referer logging is disabled.\n");
>         return;
>      }
> -    logfileOpen(Config.Log.referer, 0, 1);
> +    refererlog = logfileOpen(Config.Log.referer, 0, 1);
>  #endif
>  }
> 
> 
> --
> Marcel de Riedmatten
Received on Tue May 22 2001 - 14:35:22 MDT

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