Webhosting Blog

Enable “Update Now” in Awstats


In order to enable “Update Now” in Awstats in cPanel Follow following steps:

1. Login via SSH as root

You need to edit the domain awstats conf (awstats.domainName.conf) file:
2. [root@server ]# cd /home/username/tmp/awstats

Search for the “AllowToUpdateStatsFromBrowser”,inthe conf file. (The d
efault value of AllowToUpdateStatsFromBrowser will be 0)

3. [root@server ]# grep AllowToUpdateStatsFromBrowser awstats.example.com.conf

4. It should be set to AllowToUpdateStatsFromBrowser=1

5. If not, edit the file and save.

[root@server ]# vi awstats.domainName.conf

Edit AllowToUpdateStatsFromBrowser configuration as  AllowToUpdateStatsFromBrowser=1

Save the file and exit.

6. restart cpanel service

[root@server ]# service cpanel restart

Done.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s