Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

I configure awstats, creating one awstats.example.org.conf 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:

10.234.xxx.xxx - - [08/Feb/2011:10:29:48 +0100] "GET /some-page HTTP/1.1" 200 30132 "http://www.example.org/" "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
add comment

1 Answer 1

up vote 0 down vote accepted

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

share|improve this answer
add comment

Your Answer

 
discard

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.