Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

AWStats distinguishes the difference between a page and a hit in it's web log stats.

To accomplish this, there is a configuration option to identify certain file extensions as hits, but not pages. eg:

NotPageList="css js class java gif jpg jpeg png bmp ico swf avi flv wmv mp3"

There is also an option to skip some URLs (based on a pattern) entirely (ie not a page, nor a hit). eg:


The problem is that I want to exclude certain URLs (eg ajax calls matching a certain pattern) from being counted as pages, but keep them counted as hits. The first option doesn't appear to allow pattern specification, and the 2nd option excludes matches entirely.

Is there a way around this without changing the system to introduce an invented extension type for these URLs in order to use the first option?

share|improve this question
up vote 0 down vote accepted

Getting in early in case I'm right:

No, there isn't a way

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.