Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I run 5 domains in a webserver that share the access.log file.

I configure awstats, creating one file per each domain, but every one gives me the same stats (cause the same log file).

Is there any way of configuring awstats to just ignore all the other loglines except for the configured domain?

This is one of my apache log files: - - [08/Feb/2011:10:29:48 +0100] "GET /some-page HTTP/1.1" 200 30132 "" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.84 Safari/534.13" sec:0 usec:25405

Thanks in advance, Simon.

share|improve this question
up vote 0 down vote accepted

Yes, set the siteDomain and specify where the vhost appears in the logfiles

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.