PDA

View Full Version : disable update button awstats



snaaps
12-13-2006, 07:10 AM
Hello,

Is there any way to disable the update button in the browser for awstats.

Some people will update there awstats, but this wil couse a high serverload.
I want to disable this fucntion.

snaaps
12-13-2006, 08:51 AM
Problem solved::

Howto:


# nano /usr/local/directadmin/plugins/awstats/hooks/cgi-bin/awstats.none.conf
Change:
AllowToUpdateStatsFromBrowser=1
To:
AllowToUpdateStatsFromBrowser=0
Save the file.

Update Awstats:
# /usr/local/directadmin/plugins/awstats/update/update.sh

Now the link update stats is gone and the stats are still there!