Canadian Webhosting Forums Forum Index Canadian Webhosting Forums
Discussion Forums
 
 FAQFAQ   SearchSearch      RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Cpanel - Awstats

 
Post new topic   Reply to topic    Canadian Webhosting Forums Forum Index -> General Help
Author Message
AdMan



Joined: 17 Jan 2006
Posts: 9

PostPosted: Wed Dec 05, 2007 5:18 am    Post subject: Cpanel - Awstats Reply with quote

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: 50

PostPosted: Thu Dec 06, 2007 9:31 pm    Post subject: Reply with quote

Hello Smile

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! Very Happy
Back to top
AdMan



Joined: 17 Jan 2006
Posts: 9

PostPosted: Fri Dec 07, 2007 5:07 am    Post subject: awstats files Reply with quote

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

Is it is a directory of some sort?
Back to top
ajay
Guest





PostPosted: Fri Dec 07, 2007 10:49 am    Post subject: Reply with quote

Please check the tmp directory for web stat related files.

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

Very Happy
Back to top
AdMan



Joined: 17 Jan 2006
Posts: 9

PostPosted: Fri Dec 07, 2007 10:51 am    Post subject: Reply with quote

cool... found it....
thanks.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Canadian Webhosting Forums Forum Index -> General Help All times are GMT - 8 Hours
Page 1 of 1

 


Hosting Plans :: Flash Tutorials :: Contact Us :: Privacy Policy


Powered by phpBB, MySQL and PHP