> 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:
/*
- * $Id: referer.cc,v 1.3 2001/01/12 00:37:20 wessels Exp $
+ * $Id: referer.cc,v 1.4 2001/05/22 20:31:34 hno Exp $
*
* DEBUG: section 40 User-Agent and Referer logging
* AUTHOR: Joe Ramey <ramey@csc.ti.com> (useragent)
debug(40, 1) ("Referer logging is disabled.\n");
return;
}
- logfileOpen(Config.Log.referer, 0, 1);
+ refererlog = logfileOpen(Config.Log.referer, 0, 1);
#endif
}