Cpanel - Awstats

General help with installation, scripts, etc....

Cpanel - Awstats

Postby AdMan » Wed Dec 05, 2007 6:18 am

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?
Website marketing ebooks & software
http://www.express-marketing.com
AdMan
 
Posts: 10
Joined: Tue Jan 17, 2006 6:46 pm

Postby scott » Thu Dec 06, 2007 10:31 pm

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! :D
scott
 

awstats files

Postby AdMan » Fri Dec 07, 2007 6:07 am

I just checked and can't find that file anywhere.

Is it is a directory of some sort?
Website marketing ebooks & software
http://www.express-marketing.com
AdMan
 
Posts: 10
Joined: Tue Jan 17, 2006 6:46 pm

Postby ajay » Fri Dec 07, 2007 11:49 am

Please check the tmp directory for web stat related files.

The file path is tmp/awstats/awstats.express-marketing.com.conf

:D
ajay
 

Postby AdMan » Fri Dec 07, 2007 11:51 am

cool... found it....
thanks.
Website marketing ebooks & software
http://www.express-marketing.com
AdMan
 
Posts: 10
Joined: Tue Jan 17, 2006 6:46 pm


Return to General Help

Who is online

Users browsing this forum: No registered users and 1 guest