Images showing as pages in web log stats / analysis
Hi Images and other non-html objects in Zope have no obligation to end in a certain extension, e.g. .jpg. This is causing us trouble with web log analysis: images are showing up as pages and badly distorting the usage statistics. Has anyone found a web stats packages that can be configured to understand what a 'page' is, e.g. looking at the content-type header, which can be logged by Apache? The only contingency we have is to pre-process the logs and append extensions ourselves before passing to the web stats package, but this is not an ideal solution as there are commercial issues related to advertising etc. - they don't like the logs being messed with. Any suggestions welcome. Thanks, Felix.
Felix,
Has anyone found a web stats packages that can be configured to understand what a 'page' is, e.g. looking at the content-type header, which can be logged by Apache?
I use the excellent Webalizer-CT which has been tweaked to do exactly this. http://zope.org/Members/sbrauer/Webalizer-CT/ "Webalizer with Content-Type enhancements A fork of Webalizer that distinguishes Pages from other Hits by the response Content-Type instead of file extensions. Works better for Zope sites where it is a common practice not to use extensions in object IDs. Currently requires a Virtual Hosting environment with Apache in front." -- Eddie Butcher Road Tech Computer Systems Ltd http://www.roadrunner.uk.com 01923 338033
Eddie Butcher <ebutcher@roadrunner.uk.com> writes:
Has anyone found a web stats packages that can be configured to understand what a 'page' is, e.g. looking at the content-type header, which can be logged by Apache?
I use the excellent Webalizer-CT which has been tweaked to do exactly this.
Looks perfect, thanks, we'll give it a try. Felix.
On Feb 7, 2005, at 11:06, Felix Ulrich-Oltean wrote:
Images and other non-html objects in Zope have no obligation to end in a certain extension, e.g. .jpg. This is causing us trouble with web log analysis: images are showing up as pages and badly distorting the usage statistics.
No one forces you to create "extension-less" files in Zope... You can give them extensions if that's a problem. jens
participants (3)
-
Eddie Butcher -
Felix Ulrich-Oltean -
Jens Vagelpohl