WebFaction
Community site: login 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 13 Jan '12, 09:06

Gen9
1111
accept rate: 0%


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.

permanent link

answered 13 Jan '12, 09:44

todork
1.2k5
accept rate: 34%

Your answer
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

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×910
×18
×1

question asked: 13 Jan '12, 09:06

question was seen: 15,767 times

last updated: 13 Jan '12, 09:44

                              
WEBFACTION
REACH US
SUPPORT
LEGAL
© COPYRIGHT 2003-2021 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM