Page 1 of 1

Cpanel - Awstats

PostPosted: Wed Dec 05, 2007 6:18 am
by AdMan
There are certain IP Addresses that I would like to block from Awstats, namely mine, googlebots, etc

How can I block these IP addresses from showing up on awstats?

PostPosted: Thu Dec 06, 2007 10:31 pm
by scott
Hello :)

The following is the easiest way to block your IP address from being logged in to awstats:

In the home directory of your website (this is the directory above public_html) you will see a file named

Download the file and find this part…

# Do not include access from clients that match following criteria.
# If your log file contains IP adresses in host field, you must put here
# matching IP adresses criteria.
# If DNS lookup is already done in your log file, you must put here hostname
# criteria.
# Note: Use space between each value.
# Example: " 163.84."
# Example: "localhost abcxyz"
# Default: " "
SkipHosts=" "

Simply insert your local IP address in between the quotes for SkipHosts then upload the file back to where it was.

You can get your local IP address using the following link:

That’s it! :D

awstats files

PostPosted: Fri Dec 07, 2007 6:07 am
by AdMan
I just checked and can't find that file anywhere.

Is it is a directory of some sort?

PostPosted: Fri Dec 07, 2007 11:49 am
by ajay
Please check the tmp directory for web stat related files.

The file path is tmp/awstats/


PostPosted: Fri Dec 07, 2007 11:51 am
by AdMan
cool... found it....