1
0
Fork 0
My old website. I completely made this one in bash-scripting.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

14 lines
684 B

<b>Clustered AwStats</b>
To use AWStats in a multiple vhost environment, you can make a new crontab for
every new site. But that's not very smart. I made this script to look at the
AWStats configuration files and parse all the access.log.1.gz files for all the
different sites.
It's made for my servers, so probably you have to change something for your own
environment. Make sure your AWStats config match this config and exchange SSH
key's for the AWStatst user to the webservers (read)! The access logging of the
Apache servers in the example below should be
/var/log/apache2/sitename/access.log.1.gz
You can find the script <a href='__SITEURL__/scripts/awstats_cron'>here</a>.