Using awstats to monitor/graph visitors on a server that only serves images?

I have an apache webserver that serves up images. Lots of machine generated images (i.e. not static files). It doesn't serve any serious amount of html etc. files. A user might request many images one after the other, which is essentially a form of "visitor" to the web site.

I want to use awstats to graph and show details about how busy the webserver is. I've set it up, and it's showing some data (amount of hits, bandwidth), however it has tiny numbers for "visitors". It looks like awstats doesn't, by default, count png files as something that "visitors" would do.

How can I make awstats treat hits to an image as something that a "visitor" would do, so that it will show better, more accurate, figures for "number of visitors"?

0
задан 18 May 2016 в 12:08
1 ответ

Я обнаружил, что в awstats 7 есть ошибка, при которой изображения не считаются посещением, даже если вы измените параметр NotPageList . Вам нужно исправить awstats.pl

Подробнее: https://stackoverflow.com/questions/6603972/how-to-track-jpg-hits-as-page-views-in-awstats-7- 0

0
ответ дан 5 December 2019 в 10:23

Теги

Похожие вопросы