blog:configure_awstats_on_debian_webserver
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
blog:configure_awstats_on_debian_webserver [2010-06-29 16:50] – brb | blog:configure_awstats_on_debian_webserver [2010-10-24 10:29] (current) – brb | ||
---|---|---|---|
Line 22: | Line 22: | ||
Make it a default that access.log has these permissions. | Make it a default that access.log has these permissions. | ||
+ | |||
+ | Locate the awstats_updateall.pl script (it is in / | ||
Edit the / | Edit the / | ||
create 644 root adm | create 644 root adm | ||
prerotate | prerotate | ||
- | | + | nice /usr/local/bin/awstats_updateall.pl -awstatsprog=/ |
endscript | endscript | ||
Line 42: | Line 44: | ||
sharedscripts | sharedscripts | ||
prerotate | prerotate | ||
- | | + | |
postrotate | postrotate | ||
if [ -f / | if [ -f / | ||
Line 50: | Line 52: | ||
} | } | ||
</ | </ | ||
+ | |||
+ | Add the update command to cron.hourly: | ||
+ | nice / | ||
Reload apache | Reload apache |
blog/configure_awstats_on_debian_webserver.1277823037.txt.gz · Last modified: 2010-06-29 16:50 by brb