- rpmでインストール
- apacheでアクセス制限
<LocationMatch "^/awstats"> Order deny,allow Deny from all #Allow from all Allow from localhost Allow from 10. Allow from housekeeper.atl-systems.co.jp </LocationMatch>
/var/log/httpd/*log { missingok notifempty sharedscripts prerotate /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=CONFIG_DOMAIN_NAME endscript postrotate /bin/kill -HUP `cat /var/run/httpd.pid 2>/dev/null` 2> /dev/null || true endscript }
0 件のコメント:
コメントを投稿