villablog.blogg.se

Awstats hosts
Awstats hosts













awstats hosts

#Awstats hosts how to#

If you want Awstats to purge all of its logs, to start with totally new logs, here is how to do that. It will only prevent new hits from logging in awstats after you edit the SkipHosts directive. Removing Awstats Log And Apache LogsĪwstats will not remove previous logs of IP addresses or domains that you want to remove with SkipHosts. Remember, that you can use regular expressions to remove variations of a domain.Īfter you are done editing SkipHosts save and exit the file.

awstats hosts

In addition, if you have a website checking service that checks your site every 5 minutes or so, you can put that into SkipHosts. So far our SkipHosts file could include: SkipHosts = "1.2.3.4 localhost 3.4.5.6" Just to be sure that my own IP address isn’t logged, I also don’t want localhost to be logged. You can always find it in /etc/hosts in Debian or Ubuntu. If you don’t remember what your hostname is I also don’t log the IP address where my server is and the hostname for my sever. Use can use REGEX as aften as you wantįor example, if your address of your home is 1.2.3.4, and you don’t want to log it on your server you can type:ġ.2.3.4 inside the parentheses of SkipHosts = ” ” Put in your regular expression the regular expression for the IP addresses or domain. You can also use regular expressions for domains and IP address using REGEX. You just separate different entries by one space. You can add as many entries as you want in SkipHosts. Remove the hash or pound to the left of SkipHosts, and then you will then enter in the list of IP addresses and hosts that you don’t want to log To do this, you need to edit your config file, and specifically edit the SkipHosts directive. I only want to log other people’s traffic to get a more accurate picture of how much traffic I am getting. Because I visit awstats a lot, I don’t actually want my own IP address logged in awstats, because it would come up way too often. I like to make awstats as useful as possible. How To Not Log Certain IP Addresses And Websites In Awstats















Awstats hosts