Integrated awstats into DirectAdmin.
It’s a global on/off swtich, and not a per domain setup.
If you wish to enable this feature for testing or use, you must install awstats.
Type:
cd /usr/local/directadmin/scripts
./awstats.sh
This will do several things.
- download and install the awstats setup.
- add awstats=1 to your directadmin.conf
- add webalizer=0 in your directadmin.conf (webalizer will be shut off, you can override it if you want both)
Note that due to the way the log names are setup in config files, the rotation of apache logs will be slightly different during the tally.
Before the tally, all logs will not be renamed to .log.1.
Logs will be processed in place.
This has side effects in that an HUP is not going to be sent to the master httpd process right before the tally.