Im wondering how I set up AWstats to report for every single domains instead of logging all traffic from apache. I would rather have it log each website in own stat instance.. Anyone know how to set it up ?
Have you tried switching to Google Analytics? People say it's more accurate, and it does a pretty good job with rich statistics and graphics. And you can set it up to separate the stats for each of your domains.
You can either add the host name in the common log file or create a log file for each host. Up to you. AWStats supports both configurations. It is a bit easier to keep the common log file: 1. add this line in httpd.conf: LogFormat "%v %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" virtual 2. edit the existing CustomLog line in httpd.conf and replace it with: CustomLog /var/log/httpd/access_log virtual 3. edit the LogFormat in your AWStats config file: LogFormat = "%virtualname %host %other %logname %time1 %methodurl %code %bytesd %refererquot quot" 4. edit SiteDomain and HostAliases accordingly in your AWStats config file. Jean-Luc
Clive: Already using it ;-) But I like to be in control and monitor everything heheh Jean-luc: Somehow I would rather have seperate log files for each domain, seems easier for me. But this will do for now. Thanks a lot, I will give it a try later today.