Introduction
Some cPanel users want to have their Webalizer stats available without cPanel access.
Please note it is highly recommended that password protection be used so this is not viewable by everyone publicly.
Procedure
Please note that in the following procedure, "$cpuser" must be replaced with the cPanel user's username.
- Access the server's command line as the cPanel user via SSH or "Terminal" in cPanel.
- Run the following command to create a symlink to the
webalizer
directory.ln -s /home/$cpuser/tmp/webalizer /home/$cpuser/public_html/webalizer
- Ensure that
/home/$cpuser/tmp/webalizer
is executable.chmod 755 /home/$cpuser/tmp/webalizer
- Open the
/home/cpuser/public_html/.htaccess
file in your preferred text editor. - Add or update the
Options
line and ensure that the+FollowSymLinks
option is present.Options +FollowSymLinks
- Save the changes and exit the text editor.
Additional resources
Can I password-protect a directory using the cPanel interface?