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
webalizerdirectory.ln -s /home/$cpuser/tmp/webalizer /home/$cpuser/public_html/webalizer
- Ensure that
/home/$cpuser/tmp/webalizeris executable.chmod 755 /home/$cpuser/tmp/webalizer
- Open the
/home/cpuser/public_html/.htaccessfile in your preferred text editor. - Add or update the
Optionsline and ensure that the+FollowSymLinksoption is present.Options +FollowSymLinks
- Save the changes and exit the text editor.
Additional resources
Can I password-protect a directory using the cPanel interface?