Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: How to enable Update now button for Awstats  (Read 3126 times)

0 Members and 1 Guest are viewing this topic.

Aby

  • Guest
How to enable Update now button for Awstats
« on: January 09, 2014, 10:11:36 pm »

Login into cPanel

Code: [Select]
1. 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.

WHM control panel

Code: [Select]
1: Login to your server using the root password.

2: Go to Server Configuration >> Tweak Settings

3: The reload of the page will present you with several options such as cPAddons, Display, Domains, Logging, Mail,               Notifications, PHP, Redirection, SQL, Security, Software, Stats Programs, etc…

4: Hit the “Stats and Logs” to get the options listed under it.

5: Search for “Allows users to update AWstats from cPanel” on the page and select the “On” button on the right         side of the page and save the settings.

SSH Root Login
Code: [Select]
1: Login to your server using the root password.

2: Open your users Awstats directory.
     cd /home/cpaneluser/tmp/awstats/

3: Open your domain awstats configuration file
     vi awstats.yourdomain.com.conf

4: To enable change the value to AllowToUpdateStatsFromBrowser=1

     AllowToUpdateStatsFromBrowser=1
     Save and exit

5: You need to run the following script for changes to take effect:
     /scripts/runweblogs username