Personnellement, j'utilise aussi awstats ... mais complètement différement de vous.
Quand logrotate fait son job sur les logs apache, awstat est appelé avant la rotation et génère un tas de fichiers html statiques qui sont ensuite placé au bon endroit.
[^] # Re: Comment se faire hacker avec awstat
Posté par Nicolas Évrard (site web personnel, Mastodon) . En réponse au journal User root de apache : une faille ?. Évalué à 4.
/var/log/apache/*.log { weekly missingok rotate 52 compress delaycompress notifempty create 640 root adm sharedscripts prerotate /root/bin/awstats_buildstaticpages.pl \ -config=nicoe.nutellux.ath.cx \ -dir=/home/nicoe/cherrypy/static/stats \ -update endscript Vala ...