Knowledgebase: Site Functions
Change AWStats Config File in cPanel
Posted by H9 Admin on 13 January 2015 04:03 PM

AWStats Config File Location

The AWStats config file is located in the '/home/yourusername/tmp/awstats/' directory (or just 'tmp/awstats' from your home directory). It is called 'awstats.yoursitename.conf', where yoursitename is the name of your web site and yourusername is the name of the cPanel account you are under right now.

It's Tricky!

You have located the file, you download it to your computer, you edit it and you upload it to the server again and you believe that you are done.

This will probably not work because in most installations, cPanel reinitializes the AWStats configuration file every day, just before it runs the stats update.

Change the File Permissions

This first solution is obvious, but it does not always work. Connect to the site with FTP and try to change the permissions of 'awstats.yoursitename.conf' to “read only” (444). If this does not work, please try changing permissions using the Legacy File Manager.

(1 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako fusion