我最近使用以下命令安装了awstats:
yum install awstats
cd /usr/share/awstats/tools/
/usr/bin/perl awstats_configure.pl
-> /etc/httpd/conf/httpd.conf
-> www.ysend.com
-> /etc/awstats
/usr/share/awstats/tools/awstats_updateall.pl now
mkdir /home/cron
nano /home/cron/www.ysend.com.cron
-> 10 * 1 * * /usr/share/awstats/tools/awstats_updateall.pl now
crontab /home/cron/www.ysend.com.cron
crontab -l
nano /etc/httpd/conf.d/awstats.conf
-> Allow from **MY IP**
/etc/init.d/httpd restart但是,当我访问我的Awstats页面时,它只显示了一个唯一的访问者。我有过数百位独特的访客。知道怎么回事吗?
如果我尝试运行awstats_updateall.pl,它会说:
从日志文件中的数据“/var/ log /httpd/access_log”.
我如何告诉它指向/home/ysend/custom.log?
发布于 2009-06-29 20:21:14
我已经有一段时间没有设置awstats了,但是我很确定CONF文件中有一个指向日志位置的指令。如果自定义CONF文件使用包含的主CONF文件(就像我为服务器设置的那样),请注意,因为该选项可以在包含的文件中设置。
https://serverfault.com/questions/33458
复制相似问题