Apache with Awstats

Apache with Awstats

am 24.01.2008 23:13:13 von rrflancer

We currently have one webserver catering to two DNSes with awstats for
monitoring. Issue I am facing is awstats is mixing up the values and
does not give the right output.

example:

DNS1: a.b.com

DN2: p.q.com

Requests to both these DNSes are going to the same loadbalancer with
routes requests to a web server.
Sample web-server log:
1.2.2.2 - - [24/Jan/2008:17:09:06 -0500] "POST /urlone/
Draft.keepAlive.dwr HTTP/1.1" 200 77 "http://a.b.com" "Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; .NET CLR
1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)"

1.2.2.2 - - [24/Jan/2008:17:09:06 -0500] "POST /urltwo/
Draft.keepAlive.dwr HTTP/1.1" 200 77 "http://p.q.com" "Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; SV1; InfoPath.1; .NET CLR
1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30)"

There are two awstats configuration files eg. a.b.com.conf and
p.q.com.conf

For some reason awstats is not able to parse these logs and produce
the right results.

My observation is..if I look at the awstats output of a.b.com then i
see requests from p.q.com as well.

Any help related to this will be great.

thanks