AWStats for one or more domains

The documentation is per

Here’s quick HOWTO, where I assume you have installed awstats using apt-get or rpm:
Copy the file /etc/awstats/awstats-dist.conf to /etc/awstats/ and changed the domain name there to fit the new site.

Then run the following command:
[root@funinc ~]# perl /usr/local/awstats/wwwroot/cgi-bin/ -update
(you may need to find the script, on debian /usr/lib/cgi-bin/

Awstats creates a new set of files for the new site in its database.

Added the following line to your crontab file:
12 00 * * * perl /usr/local/awstats/wwwroot/cgi-bin/ -update

basically this will tell awstats to generate a new set of reports for the site daily (at 12 noon!)

That’s it, go to

The apache configuration for debian:

Alias /awstatsclasses "/usr/share/awstats/lib/"
Alias /awstats-icon/ "/usr/share/awstats/icon/"
Alias /awstatscss "/usr/share/doc/awstats/examples/css"
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
ScriptAlias /awstats/ /usr/lib/cgi-bin/
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch

Similar Posts:

No Comments

You can leave the first : )