I just installed AWStats on a new Django site. 22% of the hits are for php. How do I see what these are?
I found /logs/frontend/access_MY-WEBSITE-NAME_php.log.1 which contains all awstats hits. Does awstats show its own traffic, and with the wrong file type? Either way, is there a way to enable drill-down, or otherwise find those requests?
In the past (not at WebFaction), I've seen lots of hacking attempts target php and get 404 ... but the AWStats 404 drill-down doesn't show any.
asked Jan 13 '12 at 09:06
AWStats does indeed count the hits on the AWStats app as well, if it's mounted to a subpath on the same website. To avoid this, you can edit the cgi-bin/awstats.conf file, and exclude those hits. Look for the SkipFiles configuration directive. If you need assistance with this, you can open a ticket, so we can take a look at your AWStats app.
Regarding enabling drill-down, I'm not sure if AWStats supports the level of drill-down that you need. Alternatively you can examine the logs under ~/logs/frontend/<sitename>_access.log directly.
answered Jan 13 '12 at 09:44