Skip to content

Instantly share code, notes, and snippets.

@dangayle
Created November 6, 2012 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dangayle/4027389 to your computer and use it in GitHub Desktop.
Save dangayle/4027389 to your computer and use it in GitHub Desktop.
How to block your own IP from Awstats
Find this file:
/tmp/awstats/awstats.DOMAIN.conf
edit SkipHosts:
# 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="YOUR IP AND ANY OTHER YOU WANT TO EXCLUDE"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment