Hiding referer spam in AWStats
Inspired by derefspam.pl, and my own issues with referer spam, I’ve hacked together a patch to AWStats(AWStats – Free log file analyzer for advanced statistics (GNU GPL).) which will cause it to ignore referer URLs which match the MT-Blacklist Comment Spam blacklist.
Grab the patch from SourceForge.
(AWStats users might also be interested in my other two patches, which allow it to report RSS readers: Patch 1, Patch 2)
About 5 years, 1 month ago, Arve commented:
Which version of AWStats are these patches for? I am currently running 6.3, and would hate to see stuff break if I run these.
(As for your RSS reader patch: It misses Opera 7.5 and up in news aggregator mode, since Opera's User Agent string says nothing about it being an aggregator.)