Webalizer

in
  • install RPM
rpm -ivh webalizer.rpm
  • disable webalizer location in virtual hosts:
cd /etc/httpd/conf.d
mv webalizer.conf webalizer.conf.disable
  • verify the usage clause of apache config
  • extend apache logging so that virtual hosts are taken into account: edit /etc/httpd/conf/httpd.conf:
 LogFormat
    "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %v %p"
    multicombined
 CustomLog logs/access_log multicombined
  • edit /etc/webalizer.conf

  • install the /etc/localsite/webalizer/virtalizer.pl script to multiplex site-wide access log and invoke webalizer for separate virtual hosts
  • remove /etc/cron.hourly/00webalizer
  • edit /etc/cron.daily/00webalizer and replace /usr/bin/webalizer by /etc/localsite/webalizer/virtalizer.pl

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
To prevent automated spam submissions leave this field empty.