| Author |
Message |
AdMan
Joined: 17 Jan 2006 Posts: 9
|
Posted: Wed Dec 05, 2007 5:18 am Post subject: Cpanel - Awstats |
|
|
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? |
|
| Back to top |
|
 |
scott CWH Staff
Joined: 02 Aug 2007 Posts: 56
|
Posted: Thu Dec 06, 2007 9:31 pm Post subject: |
|
|
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 awstats.yoursite.com.conf.
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: "127.0.0.1 163.84. 201.101.51.1"
# 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:
http://whatismyip.com
That’s it!  |
|
| Back to top |
|
 |
AdMan
Joined: 17 Jan 2006 Posts: 9
|
Posted: Fri Dec 07, 2007 5:07 am Post subject: awstats files |
|
|
I just checked and can't find that file anywhere.
Is it is a directory of some sort? |
|
| Back to top |
|
 |
ajay Guest
|
Posted: Fri Dec 07, 2007 10:49 am Post subject: |
|
|
Please check the tmp directory for web stat related files.
The file path is tmp/awstats/awstats.express-marketing.com.conf
 |
|
| Back to top |
|
 |
AdMan
Joined: 17 Jan 2006 Posts: 9
|
Posted: Fri Dec 07, 2007 10:51 am Post subject: |
|
|
cool... found it....
thanks. |
|
| Back to top |
|
 |
|