• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Got AWstats working

K

kjstol

Guest
Hi guys,

I got AWstats running on a plesk 7 (i believe) server!

Below my short manual:

- install AWstats in a directory
- the actual logs of vhostst are in:
/home/httpd/vhosts/***domainname***/statistics/logs/access_log
- test the first update with a Perl command on the command line (see below)
- when you feel satisfied, add the following line to cronjobs in your server administration:
/home/httpd/vhosts/***domainname***/httpdocs/AWstats-dir/awstats.pl -config=***domainname*** -update
- set the cronjob to every other hour, you have stats per hour. When you set the job to 5 minutes, you'll almost have realtime statistics.
(- notice the time the server rotates the logs itself. Run AWstats a minute before to make the loss of records from the access_log as less as possible. - the period of time between your update and the log rotation of the server is as minimalized as possible in this setting)

Hope this one helps a lot of you guys with the seriously-not-so-pleasant-webalyzer-stats!

Greetz from Holland!
KJ
 
Back
Top