Welcome! page:server/apache/Webalizer.php | |
odic.ne.jp library Webalizer | |
by:大阪演劇情報センター+未知座小劇場 | 更新日:2017年 09月 10日(Sun) 11:24:39 AM |
home:topへ server library:top へ |
LogFile /var/log/httpd/access_log ← access_logのパス
OutputDir /var/www/html/usage ← 解析結果を納めるディレクトリ
Incremental yes ← 解析結果を保存
IncrementalName webalizer.current
HostName www.xxxx.ne.jp ← 解析対象
PageType php ← 追加拡張子
DNSCache dns_cache.db
DNSChildren 10
# /usr/bin/webalizer.japanese -c /etc/webalizer.conf
http://www.xxxx.ne.jp/usage/
01 1 * * * root /usr/bin/webalizer.japanese -c /etc/webalizer.conf
#!/bin/sh
/usr/bin/webalizer.japanese -c /etc/webalizer.conf
<Directory "/var/www/html/usage">
Order Deny,Allow
Deny from all
Allow from 192.168.x.0/24 127.0.0.1
</Directory>
<VirtualHost 61.xxx.xxx.3>
ServerAdmin tako@xxxx.ne.jp
DocumentRoot /home/tako/public_html
ServerName zzzz.xxxx.ne.jp
ErrorLog /var/log/httpd/takodir/info_error_log
CustomLog /var/log/httpd/takodir/info_access_log common
</VirtualHost>
# cp /etc/webalizer.conf /home/tako
# mkdir /home/tako/public_html/usage
# mkdir /var/log/httpd/takodir
LogFile /var/log/httpd/takodir/info_access_log
OutputDir /home/tako/public_html/usage
HostName zzzz.xxxx.ne.jp
/var/log/httpd/takodir/info_access_log {
missingok
postrotate
/usr/bin/killall -HUP httpd
endscript
}
/var/log/httpd/takodir/info_error_log {
missingok
postrotate
/usr/bin/killall -HUP httpd
endscript
}
# /usr/bin/webalizer.japanese -c /home/tako/webalizer.conf
http://zzzz.xxxx.ne.jp/usage/
#!/bin/sh
/usr/bin/webalizer.japanese -c /home/tako/webalizer.conf
Order Deny,Allow
Deny from all
Allow from 192.168.x.0/24 127.0.0.1
top home:top server library:top PHP PostgreSQL MySQL サンプルスクリプト SiteMap Open SiteMap