How to Set Up Webalizer
Jump to navigation
Jump to search
Introduction
Webalizer creates and keeps track of user traffic on a website.
Instructions
- Install Webalizer
yum -y install webalizer
- Create configuration files for websites. Replace everything in '<>' with appropriate values.
cp /etc/webalizer.conf /etc/webalizer.d/<website_name>.conf vim /etc/webalizer.d/<website_name>.conf //Here are the important variables to uncomment and replace. LogFile /var/log/httpd/<website_name>/access_log OutputDir /var/www/usage/<website_name>/ HistoryName /var/lib/webalizer/<website_name>/webalizer.hist IncrementalName /var/lib/webalizer/<website_name>/webalizer.current ReportTitle Usage Statistics for <website_name> HostName <website_name>
- Create all the directories