Herself’s Webtools

Webtools for Webmasters: Scripts, HowTos, Templates, Plugins, Widgets, Tips and Useful Information

Herself’s Webtools header image 1

How to keep your IP number out of your Awstats

June 30th, 2008 · No Comments

I started using Awstats to track website activity. It came with cPanel and does a nice job.

However it was tracking my IP number as well. So I read the Awstats directions which tell you to put your *.conf file in your /etc directory. That doesn’t work. You must put your *.conf file in /tmp/awstats.

Ok so we got that far but every night the *.conf files were overwritten by Awstats removing the
SkipHosts=”111.111.111.111″
entry.

It turns out you must also change the file permissions to 0444 to prevent Awstats from overwriting your file each night.

So
1) edit your config file and change the SkipHosts=”" to contain your IP number
SkipHosts=”111.111.111.111″

2) Put this file in /tmp/awstats

3) Chmod the file to 0444

Tags: how to

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

You must log in to post a comment.