Access Awstats without logging into cPanel

Allowing access to Awstats without requiring a cPanel login.

  • Download Awstats: http://awstats.sourceforge.net
  • Extract the contents of the file to your computer.
  • Use an FTP client to upload the contents of the /cgi-bin and /icon folders into the root of your domain (both are located in the "wwwroot" folder).
  • Change the permissions of the awredir.pl and awstats.pl files to 755 (in the /cgi-bin directory).
  • Download the Awstats configuration file created by cPanel: /tmp/awstats/awstats.yourdomain.com.conf.
  • Open this file with a text editor, search for the "DirIcons" line, and change it to show: DirIcons="/icon/".
  • Upload the modified file to the /cgi-bin folder.
You may now access your statistics at http://www.yourdomain.com/cgi-bin/awstats.pl?config=yourdomain.com

Note: Please password protect the /cgi-bin folder so that only authorized users can access it (found under cPanel -> Security -> Password Protect Directories).

PosibleHost Suggests creating a subdomain such as stats.yourdomain.com and redirecting it to the above URL to make it easy to access, its also possible to alter the directory name where the icons are loaded, but make sure the folder path is defined properly in the .conf file or the icons will not work properly.
  • 1 Kasutajad peavad seda kasulikuks
Kas see vastus oli kasulik?

Related Articles

How to Register my private nameservers?

Setting up private nameservers is fairly simple, however it all depends on where you registered...

Creating an account in WHM

A successful login at WHM will redirect you to the default screen of WHM and it shows different...

Can i have Private Nameservers for WHM/Cpanel/Hosted Domains?

Certainly, you can have. Even we setup private nameservers for the subresellers created by master...

My Joomla has been hacked!

A Joomla is usually compromised when it or its components / modules are outdated. Another very...

My site does not appear in the browser

1. You have made the DNS changes (to be exact you need to change DNS servers of your domain to...

Powered by WHMCompleteSolution