How to enable the “update now” button/link in awstats

by admin on July 24, 2009 · 0 comments

With my first web host, I was able to re-generate my Awstats webstats on the fly, whenever I wanted, by clicking the 'update now' link at the top of the main page. However, when I switched hosts, I noticed that is was gone. I did some digging, and found out how to change the configuration file for Awstats to re-enable the 'update now' button.

Follow these steps:
1. login into cPanel
1a. Open File Manager
2. navigate to /home/username/tmp/awstats/
3. edit the .conf file (e.g. awstats.yourdomain.com.conf)
4. look for this line: AllowToUpdateStatsFromBrowser, set the value to 1 (AllowToUpdateStatsFromBrowser=1)
5. Save the .conf file. When you refresh your statistics page. you will get 'update now' link at the top of the page.

This applies for any subdomain as well.

Previous post:

Next post: