login community faq

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.

Thanks.

asked Jan 13 '12 at 09:06

Gen9's gravatar image

Gen9
1


Hi,

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

todork's gravatar image

todork
10964

Your answer
If you have an answer to the above question, then use the form below. Otherwise, use the appropriate 'add new comment' button above to post your feedback.
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×643
×14
×1

Asked: Jan 13 '12 at 09:06

Seen: 847 times

Last updated: Jan 13 '12 at 09:44

Plans & prices    Sign up    Why WebFaction?    Contact us    Affiliate program    Support    Legal    Jobs    Blog    Control panel login
Powered by OSQA
© Copyright 2003-2012 Swarma Limited - WebFaction is a service of Swarma Limited