AWStats
来自ITwiki,开放的信息技术大百科
Advanced Web Statistics(AWStats)是一个免费的功能强大的服务器日志分析工具,它可以告诉你所有的Web统计数据,包括访问量、访问者数量、页面、点击、高峰时段、操作系统、浏览器版本、搜索引擎、关键字、机械访问、无效连接等等。可以工作在大多数服务器上(Apache,IIS...),可以从命令行或者CGI运行。
http://awstats.sourceforge.net/
在线演示
http://demo.huihoo.com/cgi-bin/awstats.pl?config=awstats.conf
安装指南
Debian用户
- apt-get install awstats
- cd /usr/share/doc/awstats/examples/
- /usr/share/doc/awstats/examples$ perl awstats_configure.pl 或 修改 /etc/awstats/awstats.conf
vi /etc/apache2/sites-enabled/000-default
Alias /awstats-icon/ /usr/share/awstats/icon/
<Directory /usr/share/awstats/icon>
Options None AllowOverride None Order allow,deny Allow from all
</Directory> /etc/init.d/apache2 restart http://localhost/cgi-bin/awstats.pl?config=awstats.conf Apache log
/var/log/apache2/access.log // apache 2.x /var/log/apache/access.log // apache 1.3
update awstats
cd /usr/lib/cgi-bin
- perl awstats.pl -config=demo.huiho.com -update &
定时 update




