Webalizer reports must be configured from the command line interface. You cannot configure Webalizer using the control panel.
Webalizer reports are generated in accordance with the options set in the Webalizer configuration file.
Note: The configuration file is called webalizer.conf
and placed in the respective Webalizer directories (Web/FTP) inside the site's file system.
You can modify the configuration options to change the default behavior of Webalizer reports.
To change the configuration options:
ssh <server_name>
For example, if you have a server by the host name example
, then type ssh example
telnet <server_name>
su
/usr/sbin/chroot /home/virtual/<site name>
where:
/usr/sbin/chroot
is the command to change your working directory to the home directory of the site
/home/virtual/
<site name>
is the absolute path to the site's home directory
Important: When you use this command, you must leave a space between the command /usr/sbin/chroot
and the directory path /home/virtual/
<site name>,
otherwise it will result in an error.
vi /etc/webalizer/web/webalizer.conf
vi /etc/webalizer/ftp/webalizer.conf
The configuration file opens. Each option is preceded by a detailed description of the option. Use the definitions in the configuration file to help you modify the file.
:wq