I'd like to know how awstats accounts for HEAD requests? Specifically my concern is about our load balancers that are pinging the web servers with HEADs. I can not accurately block their IPs since they use 10.x.x.x IPs and those are used by many of our browsers (corporate LANs, etc.).
I saw someone once asked about this (http://sourceforge.net/forum/message.php?msg_id=3558652), but there was no response
Thoughts?
Lon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My website logs also suffer from a lot of HEAD requests which are actually spam. What is the current line I should remove in awstats.pl and indeed: It would be nice if this option would become available through configuration.
/edit/ OK, that's line 18303 now in 7.5
Last edit: Arnaud de Klerk 2017-02-02
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'd like to know how awstats accounts for HEAD requests? Specifically my concern is about our load balancers that are pinging the web servers with HEADs. I can not accurately block their IPs since they use 10.x.x.x IPs and those are used by many of our browsers (corporate LANs, etc.).
I saw someone once asked about this (http://sourceforge.net/forum/message.php?msg_id=3558652), but there was no response
Thoughts?
Hi,
AWStats treats HEAD and GET requests exactly in the same way. If you don't like that, remove line 10634 in awstats.pl (version 6.9).
Jean-Luc
http://www.internetofficer.com/awstats/
Thanks!
I agree a configuration for this would be useful (local patches would make my sysadmin cry). Other people use mod_security rulesets: https://blog.flameeyes.eu/2011/01/referrer-and-awstats/
My website logs also suffer from a lot of HEAD requests which are actually spam. What is the current line I should remove in awstats.pl and indeed: It would be nice if this option would become available through configuration.
/edit/ OK, that's line 18303 now in 7.5
Last edit: Arnaud de Klerk 2017-02-02