Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm using AWStats to track visits to my site. I know how to exclude specific ip addresses from the stats (using AWStat's .conf file). But how would I just exclude one specific visitor (me)?

I want to exclude every visit regardless of my location. Just based on my specific computer, or cookies, or possibly a login password?

Thanks

share|improve this question

migrated from stackoverflow.com Jun 11 '11 at 23:17

This question came from our site for professional and enthusiast programmers.

    
I don't understand how this indicates I can't. This just says what I can do. I was hoping there was another way in addition to the SkipHosts solution. –  user8199 Jun 12 '11 at 3:12
add comment

1 Answer 1

It doesn't look like you can

FAQ-COM140 : HOW CAN I EXCLUDE MY IP

ADDRESS (OR WHOLE SUBNET MASK) FROM STATS ? PROBLEM:

I don't want to see my own IP address in the stats or I want to exclude counting visits from a whole subnet. SOLUTION: You must edit the config file to change the SkipHosts parameter. For example, to exclude:

  • your own IP address 123.123.123.123, use SkipHosts="123.123.123.123"
  • the whole subnet 123.123.123.xxx, use SkipHosts="REGEX[^123.123.123.]"
  • all sub hosts xxx.myintranet.com, use SkipHosts="REGEX[.myintranet.com$]" (This one works only if DNS lookup is already done in your log file).

From http://awstats.sourceforge.net/docs/awstats_config.html#SkipHosts

share|improve this answer
    
As a little hack he could just fake the User-Agent string of his web browser and use SkipUserAgents (awstats.sourceforge.net/docs/awstats_config.html#SkipUserAgents) to identify and ignore his specific user agent. –  joschi Jun 12 '11 at 9:31
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.