How do I allow access to Awstats without requiring a cPanel login

Question
How do I allow access to Awstats without requiring a cPanel login
Answer
#1: Download Awstats: http://awstats.sourceforge.net
#2: Extract the contents of the file to your computer.
#3: 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).
#4 Change the permissions of the awredir.pl and awstats.pl files to 755 (in the /cgi-bin directory).
#5 Download the Awstats configuration file created by cPanel: /tmp/awstats/awstats.yourdomain.com.conf.
#6 Open this file with a text editor, search for the "DirIcons" line, and change it to show: DirIcons="/icon/".
#7 Upload the modified file to the /cgi-bin folder.
#8 You may now access your statistics at http://www.yourdomain.com/cgi-bin/awstats.pl?config=yourdomain.com

Note:
We STRONGLY suggest that you password protect the CGI folder . You can do this by going to cPanel -> security -> Password Protect Directories

We suggest 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.

Still need help?
If you need further assistance than this entry provided, please, do open up a support ticket, we are here to help you out
  • Email, SSL
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Raw Access Logs

Question What are raw access logs? Answer Raw access logs are the basic logs of who's...

How do I enable Awstats and Webalizer?

Question How do I enable Awstats and Webalizer?...

How do I view stats with awstats or webalizer?

Question How do I view stats with awstats or webalizer?...

Powered by WHMCompleteSolution