How to link Webalizer stats so a cPanel login isn't required Print

  • 0

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.

  1. Access the server's command line as the cPanel user via SSH or "Terminal" in cPanel.
  2. Run the following command to create a symlink to the webalizer directory.
    ln -s /home/$cpuser/tmp/webalizer /home/$cpuser/public_html/webalizer
  3. Ensure that /home/$cpuser/tmp/webalizer is executable.
    chmod 755 /home/$cpuser/tmp/webalizer
  4. Open the /home/cpuser/public_html/.htaccess file in your preferred text editor.
  5. Add or update the Options line and ensure that the +FollowSymLinks option is present.
    Options +FollowSymLinks
  6. Save the changes and exit the text editor.

 

Additional resources

Can I password-protect a directory using the cPanel interface?


Was this answer helpful?
Back

Send Message