webalizer应用
安装
[[email protected] usage]yum install webalizer*
主配置文件
[[email protected] usage]vim /etc/webalizer.conf
LogFile /var/log/httpd/access_log #读取日志文件夹
OutputDir /var/www/usage #输出文件夹
修改vi /etc/httpd/conf.d/webalizer.conf文件
[[email protected] usage]vi /etc/httpd/conf.d/webalizer.conf
Alias /usage /var/www/usage
<Location /usage>
Order deny,allow
Deny from all
Allow from all
Allow from ::1
</Location>
[[email protected] usage]webalizer 运行该程序
[[email protected] usage]service httpd restart
访问www.ccav.cn/usage/ 主页时出现下面页面,表示安装成功
时间: 2025-01-04 15:14:37