PDA

View Full Version : Powweb Awstats installation instructions


Fraki
10-7-03, 06:09 PM
In the Awstats install instructions for PowWeb (http://support.powweb.com/awstats.html), I've found some errors that prevented my awstats from working.

First, it says to rename awstats.model.conf to awstats.yourdomain.com.conf. It specifically says to exclude www. in the file name. But I had to include it for the stats to function.

Second, it says to change LogFile="/var/log/apache/access.log" to LogFile="/www/u/username/logs/access_log.1". That didn't work for me, I had to change it to LogFile="/www/u/username/logs/access_log" (note, there's no ".1" at the end.

That is all

stevel
10-7-03, 07:44 PM
access_log.1 is the preferred approach - it means you analyze yesterday's full log. You can then run the stats once a day. If you absolutely, positively need to know current stats, you can use access_log, but you may lose some records when the log rolls over at about midnight PST.

The name of the configuration file must match the name you give in the crontab command. Or, just use awstats.conf and it will look for that by default.

Fraki
10-7-03, 09:03 PM
My logs folder doesn't have an access_log.1

stagemaster
10-9-03, 04:36 PM
Originally posted by nemt
Access the log without typing www in the address. I was fighting with this problem as well, maybe tutorial should be updated. Thanks for the tip!