Awstats 不显示访客

Awstats 不显示访客

我最近使用以下命令安装了 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 页面时,它只显示 1 个唯一访问者。我有数百个唯一访问者。知道发生了什么吗?

如果我尝试运行 awstats_updateall.pl,它会显示:

来自日志文件“/var/log/httpd/access_log”中的数据...

我怎样才能让它指向 /home/ysend/custom.log?

答案1

我已经设置 awstats 有一段时间了,但我很确定 CONF 文件中有一个指令可以指向您的日志位置。如果自定义 CONF 文件使用包含的主 CONF 文件(如我为我的服务器设置的),请注意,因为该选项可以在包含的文件中设置。

相关内容