Configuring Webalizer for sites
Webalizer reports must be configured from the command line interface. You can not configure Webalizer using the Site Administrator control panel.
Webalizer reports are generated in accordance with the options set in the configuration file of the Webalizer.
The configuration file is called webalizer.conf and placed in the respective Webalizer directories (Web/FTP) within the file system of the site.
You can modify the configuration options to change the default behaviour of Webalizer reports.
To change the configuration information:
Connect to your site using the Telnet or SSH remote login service.
Important: To use Telnet or SSH, your service provider must enable Telnet or SSH remote login services for your site. SSH is recommended as a secure remote login service.
If you are using the SSH service, type the following at the command line prompt.
ssh <username@sitename>
For example, if you have the user name, myname, for the site, mysite.com, then type, ssh myname@mysite.com
If you are using Telnet, type the following:
telnet mysite.com
Enter your user name and password, when prompted.
Browse to the /etc/webalizer directory, and locate the Webalizer configuration file, webalizer.conf.
To locate the configuration file for the Web server, type the following:
cd /etc/webalizer/Web
ls
To locate the configuration file for the FTP server, type the following:
cd /etc/webalizer/ftp
You will find the webalizer.conf listed.
Open the configuration file by using the vi text editor.
vi webalizer.conf
The configuration file opens. Each option is preceded by a detailed description of the option.
Note: When you modify the configuration file, do not change the default output directory, outputdir (where the Webalizer reports will be located), otherwise the reports will not be visible from the Site Administrator control panel.
Change the configuration options as needed.
To save the changes and exit the configuration file, type the following command.
:wq
To view the report, Generate a report.