Knowledgebase: Site Functions
Change AWStats Config File in cPanel
Posted by - NA - on 07 April 2009 03:47 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.

(418 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
ERROR: This domain name (kb.asmallorange.com), does not match the domain name in the license key file help.asmallorange.com.

For assistance with your license, please contact the Kayako support team: https://support.kayako.com