Summary
日本語化パッチの総合サイトReference
Japanese Patch Tophttp://server41.hypermart.net/newsnavi/
49: LogFile = "/var/log/apache/access.log"
119: LogFormat = 1
142: SiteDomain = "xight.org"
156: HostAliases = "localhost 127.0.0.1 REGEX[^192\.168\.] xight.org"
191: DirData = "/var/cache/awstats"
311: SkipDNSLookupFor = "REGEX[^192\.168\.]"
330: CreateDirDataIfNotExists = 1
460: SkipHosts = "127.0.0.1 localhost REGEX[^192\.168\.]"
550: NotPageList = "css js class gif jpg jpeg png bmp ico swf mp3 wma mpg avi wmv"
700: MiscTrackerUrl = "awstats/js/awstats_misc_tracker.js"
957: ShowFlagLinks = "ja en"
1038: StyleSheet = "/awstats/css/awstats_bw.css"
1230: LoadPlugin = "tooltips"
1237: LoadPlugin = "decodeutfkeys"
1332: LoadPlugin = "userinfo"
$ awstats.pl -config=example.com -update
後は,ブラウザで直接 awstats.pl にアクセスすることで閲覧可能.
#!/usr/bin/env perl
use Jcode;
open (IN ,$ARGV[0]);
while (<IN>){
$_ =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
Jcode::convert(\$_,euc);
print $_;
}
close (IN);
exit;
# ./convertlog.pl /var/log/apache/access_log > /var/log/apache/jaccess_log
# /usr/bin/webalizer -o /var/www/webalizer/ /var/log/apache/jaccess_log
- Reference
ahref.org - アクセスログ解析ソフトwebalizer日本語化
http://www.ahref.org/linux/a.phtml?number=10000011
fkimura.com - Webalizer の設定. (FreeBSD)
http://www.fkimura.com/webalizer2.html