Add “update now” button for awstats stats in cpanel for a domain

AYou must have come across awstats in cPanel is not getting updated. Now, you can update it by following the below steps:

Login to your dedicated cpanel server as root

cd /home/cpanel-username/tmp/awstats/

Edit the domain conf file for example awstats.domain.com.conf by the command:

nano awstats.domain.com.conf

And now search (ctrl+w) for:

”AllowToUpdateStatsFromBrowser” and assign the value “1” as you can see below:

AllowToUpdateStatsFromBrowser=1

Save the file and exit.

Refresh your statistics page. You will get update now button on the top of the page.

Now you can update your awstats from your cPanel.

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