webalizer
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
#contents
* portinstall japanese/webalizer が通った日 2012年7月30...
なんで?w
*Warning: Truncating oversized referrer field [50712] [#z...
2009年11月29日対応
Webalizer V2.21-02 (FreeBSD 7.2-RELEASE-p4 amd64) Japanese
Using logfile /var/log/thousand-winds.net_log (clf)
DNS Lookup (20): Warning: Truncating oversized referrer ...
Warning: Truncating oversized referrer field [50712]
Warning: Truncating oversized referrer field [50713]
Warning: Truncating oversized referrer field [50714]
: : :
Generating report for November 2009
Saving history information...
Generating summary report
318433 records (274149 ignored) in 4 seconds, 79608/sec
と正常終了の風であるが、Logを見てみると、ローテートされて...
/etc/newsyslog.conf
/var/log/thousand-winds.net_log 644 12 * @01T05 ...
/var/log/thousand-winds.net-error_log 644 12 * @...
を追加
*webalizer 増設するメモ(バーチャルホスト) [#q8fc0fa9]
すでにwebalizerを設置しているホストで、バーチャルホストの...
**設定ファイルの用意 [#k484331b]
FreeBSDのWebalizerの設定ファイルは、/usr/local/etc/ja-web...
# cp /usr/local/etc/ja-webalizer.conf /usr/local/etc/ja-...
として、LogFile、OutputDir、HistoryName、DNSCache、を再設...
''特に、DNSCache を既存のものと別にしないといつまでたっ...
LogFile /usr/local/www/apache22/data/logs/xag
#LogFile /var/log/tfc.kuji-clinic.info-access_log
OutputDir /usr/local/www/apache22/data/webalizer_tfc
HistoryName /usr/local/etc/webalizer_tfc.hist
#Incremental no
HostName guard.kuji-clinic.info
PageType htm*
PageType cgi
#PageType shtml
#PageType phtml
#PageType php3
PageType php
#PageType pl
#PageType rb
UseHTTPS yes
DNSCache /usr/local/etc/dns_cache_tfc.db
DNSChildren 20
# Usually you want to hide these
HideURL *.gif
HideURL *.GIF
HideURL *.jpg
HideURL *.JPG
HideURL *.png
HideURL *.PNG
HideURL *.ra
HideURL *.css
HideURL *.CSS
HideURL *.ico
#IgnoreSite bad.site.net
#IgnoreURL /test*
#IgnoreReferrer file:/*
#IgnoreAgent RealPlayer
#IgnoreUser root
# End of configuration file... Have a nice day!
*japanese/webalizerを設置するメモ [#ed8bc5da]
**japanese/webalizer のインストール [#h90fc8c9]
#portinstall japanese/webalizer
http://piano.smb.net/webalizer
http://www.smb.net/webalizer
http://www.niihama-med.or.jp/webalizer
http://guard.kuji-clinic.info/webalizer
&ref(option_webalizer.gif);文字変換有効にオプション設定し...
CoolMaster:root {73} % cp ja-webalizer.conf-dist ja-weba...
CoolMaster:root {74} % mkdir /usr/local/www/apache22/dat...
CoolMaster:root {75} % ja-webalizer -c /usr/local/etc/ja...
ja-webalizer: Command not found.
CoolMaster:root {76} % rehash
CoolMaster:root {77} % ja-webalizer -c /usr/local/etc/ja...
Webalizer V2.20-01 (FreeBSD 6.3-RELEASE-p5 i386) Japanese
Using logfile /var/log/httpd-access.log (clf)
Creating output in /usr/local/www/apache22/data/webalizer
Hostname for reports is 'piano.smb.net'
History file not found...
Skipping bad record (1)
Generating report for October 2008
Saving history information...
Generating summary report
17225 records (1 bad) in 1 seconds, 17225/sec
CoolMaster:root {78} % cp -Rp /usr/local/www/apache22/da...
**japanese/webalizer の設定 [#z3eed770]
CoolMaster:root {108} % pwd
/usr/local/etc
CoolMaster:root {107} % diff -urN ja-webalizer.conf-dist...
--- ja-webalizer.conf-dist 2008-10-11 06:36:18.0000...
+++ ja-webalizer.conf 2008-10-11 11:57:56.000000000 +0...
@@ -27,6 +27,7 @@
# is being read.
#LogFile /var/lib/httpd/logs/access_log
+LogFile /var/log/httpd-access.log
# LogType defines the log type being processed. Normal...
# expects a CLF or Combined web server log as input. U...
@@ -41,6 +42,7 @@
# If no output directory is specified, the current dire...
#OutputDir /var/lib/httpd/htdocs/usage
+OutputDir /usr/local/www/data/webalizer
# HistoryName allows you to specify the name of the his...
# by the Webalizer. The history file keeps the data fo...
@@ -91,7 +93,7 @@
# try to get the hostname via a uname system call. If ...
# it will default to "localhost".
-#HostName www.webalizer.org
+HostName piano.smb.net
# HTMLExtension allows you to specify the filename exte...
# for generated HTML pages. Normally, this defaults to...
@@ -110,7 +112,7 @@
#PageType shtml
#PageType phtml
#PageType php3
-#PageType php
+PageType php
#PageType pl
#PageType rb
@@ -171,7 +173,7 @@
# relative to the default output directory. See the DN...
# additional information.
-#DNSCache dns_cache.db
+DNSCache /usr/local/etc/dns_cache.db
# DNSChildren allows you to specify how many "children"...
# run to perform DNS lookups to create or update the DN...
@@ -185,7 +187,7 @@
# normal system operations. Reasonable values should b...
# 20. See the DNS.README file for additional informati...
-#DNSChildren 0
+DNSChildren 20
# CacheIPs allows unresolved IP addresses to be cached ...
# database. Normally, only resolved addresses are save...
@@ -660,8 +662,16 @@
# remember, the use of these will MAKE YOUR STATS INACC...
# should consider using an equivalent 'Hide*' keyword i...
-#IgnoreSite bad.site.net
-#IgnoreURL /test*
+IgnoreSite 219.117.246.208
+IgnoreSite 210.255.122.209
+IgnoreSite smb208.smb.net
+IgnoreSite gw.kuji-clinic.net
+
+#IgnoreURL /
+IgnoreURL /mailman*
+IgnoreURL /~tfc/anonymouse_mailform/*
+IgnoreURL /~kuji/pukiwiki-1.4.7_notb_utf8/skin*
+IgnoreURL /cgi-bin*
#IgnoreReferrer file:/*
#IgnoreAgent RealPlayer
#IgnoreUser root
**cron で自動更新 [#s96fae85]
vi /root/bin/japanese_webalizer.sh
#!/bin/sh
ja-webalizer -c /usr/local/etc/ja-webalizer.conf
vi /etc/crontab
00 0 * * * root /root/bin/japanese_webalizer.sh
を追加。
apache のログローテションは5:00 なのだが、合わせなくて良...
http://freebsd.server-manual.com/webalizer.html
----
#counter([total|today|yesterday]);
&lastmod;
----
終了行:
#contents
* portinstall japanese/webalizer が通った日 2012年7月30...
なんで?w
*Warning: Truncating oversized referrer field [50712] [#z...
2009年11月29日対応
Webalizer V2.21-02 (FreeBSD 7.2-RELEASE-p4 amd64) Japanese
Using logfile /var/log/thousand-winds.net_log (clf)
DNS Lookup (20): Warning: Truncating oversized referrer ...
Warning: Truncating oversized referrer field [50712]
Warning: Truncating oversized referrer field [50713]
Warning: Truncating oversized referrer field [50714]
: : :
Generating report for November 2009
Saving history information...
Generating summary report
318433 records (274149 ignored) in 4 seconds, 79608/sec
と正常終了の風であるが、Logを見てみると、ローテートされて...
/etc/newsyslog.conf
/var/log/thousand-winds.net_log 644 12 * @01T05 ...
/var/log/thousand-winds.net-error_log 644 12 * @...
を追加
*webalizer 増設するメモ(バーチャルホスト) [#q8fc0fa9]
すでにwebalizerを設置しているホストで、バーチャルホストの...
**設定ファイルの用意 [#k484331b]
FreeBSDのWebalizerの設定ファイルは、/usr/local/etc/ja-web...
# cp /usr/local/etc/ja-webalizer.conf /usr/local/etc/ja-...
として、LogFile、OutputDir、HistoryName、DNSCache、を再設...
''特に、DNSCache を既存のものと別にしないといつまでたっ...
LogFile /usr/local/www/apache22/data/logs/xag
#LogFile /var/log/tfc.kuji-clinic.info-access_log
OutputDir /usr/local/www/apache22/data/webalizer_tfc
HistoryName /usr/local/etc/webalizer_tfc.hist
#Incremental no
HostName guard.kuji-clinic.info
PageType htm*
PageType cgi
#PageType shtml
#PageType phtml
#PageType php3
PageType php
#PageType pl
#PageType rb
UseHTTPS yes
DNSCache /usr/local/etc/dns_cache_tfc.db
DNSChildren 20
# Usually you want to hide these
HideURL *.gif
HideURL *.GIF
HideURL *.jpg
HideURL *.JPG
HideURL *.png
HideURL *.PNG
HideURL *.ra
HideURL *.css
HideURL *.CSS
HideURL *.ico
#IgnoreSite bad.site.net
#IgnoreURL /test*
#IgnoreReferrer file:/*
#IgnoreAgent RealPlayer
#IgnoreUser root
# End of configuration file... Have a nice day!
*japanese/webalizerを設置するメモ [#ed8bc5da]
**japanese/webalizer のインストール [#h90fc8c9]
#portinstall japanese/webalizer
http://piano.smb.net/webalizer
http://www.smb.net/webalizer
http://www.niihama-med.or.jp/webalizer
http://guard.kuji-clinic.info/webalizer
&ref(option_webalizer.gif);文字変換有効にオプション設定し...
CoolMaster:root {73} % cp ja-webalizer.conf-dist ja-weba...
CoolMaster:root {74} % mkdir /usr/local/www/apache22/dat...
CoolMaster:root {75} % ja-webalizer -c /usr/local/etc/ja...
ja-webalizer: Command not found.
CoolMaster:root {76} % rehash
CoolMaster:root {77} % ja-webalizer -c /usr/local/etc/ja...
Webalizer V2.20-01 (FreeBSD 6.3-RELEASE-p5 i386) Japanese
Using logfile /var/log/httpd-access.log (clf)
Creating output in /usr/local/www/apache22/data/webalizer
Hostname for reports is 'piano.smb.net'
History file not found...
Skipping bad record (1)
Generating report for October 2008
Saving history information...
Generating summary report
17225 records (1 bad) in 1 seconds, 17225/sec
CoolMaster:root {78} % cp -Rp /usr/local/www/apache22/da...
**japanese/webalizer の設定 [#z3eed770]
CoolMaster:root {108} % pwd
/usr/local/etc
CoolMaster:root {107} % diff -urN ja-webalizer.conf-dist...
--- ja-webalizer.conf-dist 2008-10-11 06:36:18.0000...
+++ ja-webalizer.conf 2008-10-11 11:57:56.000000000 +0...
@@ -27,6 +27,7 @@
# is being read.
#LogFile /var/lib/httpd/logs/access_log
+LogFile /var/log/httpd-access.log
# LogType defines the log type being processed. Normal...
# expects a CLF or Combined web server log as input. U...
@@ -41,6 +42,7 @@
# If no output directory is specified, the current dire...
#OutputDir /var/lib/httpd/htdocs/usage
+OutputDir /usr/local/www/data/webalizer
# HistoryName allows you to specify the name of the his...
# by the Webalizer. The history file keeps the data fo...
@@ -91,7 +93,7 @@
# try to get the hostname via a uname system call. If ...
# it will default to "localhost".
-#HostName www.webalizer.org
+HostName piano.smb.net
# HTMLExtension allows you to specify the filename exte...
# for generated HTML pages. Normally, this defaults to...
@@ -110,7 +112,7 @@
#PageType shtml
#PageType phtml
#PageType php3
-#PageType php
+PageType php
#PageType pl
#PageType rb
@@ -171,7 +173,7 @@
# relative to the default output directory. See the DN...
# additional information.
-#DNSCache dns_cache.db
+DNSCache /usr/local/etc/dns_cache.db
# DNSChildren allows you to specify how many "children"...
# run to perform DNS lookups to create or update the DN...
@@ -185,7 +187,7 @@
# normal system operations. Reasonable values should b...
# 20. See the DNS.README file for additional informati...
-#DNSChildren 0
+DNSChildren 20
# CacheIPs allows unresolved IP addresses to be cached ...
# database. Normally, only resolved addresses are save...
@@ -660,8 +662,16 @@
# remember, the use of these will MAKE YOUR STATS INACC...
# should consider using an equivalent 'Hide*' keyword i...
-#IgnoreSite bad.site.net
-#IgnoreURL /test*
+IgnoreSite 219.117.246.208
+IgnoreSite 210.255.122.209
+IgnoreSite smb208.smb.net
+IgnoreSite gw.kuji-clinic.net
+
+#IgnoreURL /
+IgnoreURL /mailman*
+IgnoreURL /~tfc/anonymouse_mailform/*
+IgnoreURL /~kuji/pukiwiki-1.4.7_notb_utf8/skin*
+IgnoreURL /cgi-bin*
#IgnoreReferrer file:/*
#IgnoreAgent RealPlayer
#IgnoreUser root
**cron で自動更新 [#s96fae85]
vi /root/bin/japanese_webalizer.sh
#!/bin/sh
ja-webalizer -c /usr/local/etc/ja-webalizer.conf
vi /etc/crontab
00 0 * * * root /root/bin/japanese_webalizer.sh
を追加。
apache のログローテションは5:00 なのだが、合わせなくて良...
http://freebsd.server-manual.com/webalizer.html
----
#counter([total|today|yesterday]);
&lastmod;
----
ページ名: