cPanel won't make changes to it again and the "Update Now" button will remain to be visible forever. The details of package 'awstats' in Debian 10 (Buster). After editing the Awstats config file and saving the changes, change the permission of that file to 444. Guides to install and remove awstats on Debian 10 (Buster). This poses a challenge as you have to keep editing the configuration file daily back to 1 in order to view the "Update Now" button. This restores the value of AllowToUpdateStatsFromBrowser back to 0 and the button disappears. You should be able to see an " Update Now" link at the top as shown below which when clicked loads the current statistics.īy default, cPanel updates the "" file daily when updating the traffic stats. Open the Awstats again and select the respective domain name whose configuration file has been edited (SSL, Non-SSL version, or subdomains). Now the configuration is complete and it should work. Click the save button in the top-right corner and close the file. Scroll down in the file and locate the line AllowToUpdateStatsFromBrowser=0 as shown below. If an SSL certificate is installed on your website and the traffic has been redirected to the SSL version, you will see a folder named "SSL". In /etc/cron.d, this is whats its showing. ![]() Shouldn't it be a 404 page May be I am missing to delete some directory. Forbidden You don't have permission to access /awstats/ on this server. Step 5: Right-click on the file with the name " " then select the edit option. Uninstalled and removed the directory of awstats too. Step 2: Open " File Manager" under the Files section How to add an "Update Now" button in Awstats The good thing is that Awstats allows you to make some changes to its configurations, and be able to update the traffic statistics to the current time manually. You have to wait and check the following day in the morning. That means for example if the records are updated in the morning, and you go checking in the evening, you won't be able to view the number of people that have visited your website that day. In the previous article, I covered how to check your website traffic in cPanel using Awstats.īy default, Awstats updates the traffic statistics records once a day. Start deleting files in the format of awstats. (Optional) Save the AWStats folder to your computer just incase you delete the wrong files. Navigate to /tmp/awstats/, this may vary slightly on different hosts, so you may have to dig a little bit through some folders. It comes packaged with your web hosting account cPanel and you can use it to track and monitor your website traffic. Open your FTP Client and connect to your web server. John Mwaniki / How to add an “update now” button in AWStats in cPanelĪwstats is an open-source Web analytics reporting tool.
0 Comments
Leave a Reply. |