How To Stop AVG Scanner Hitting Apache Web Server
Posted by Vivek Gite
[Last updated: July 4, 2008]
If you noticed a lot of extra "MSIE 6.0" agents in Apache web server log, try following .htaccess code (hat tip to pixelbeat)
Rewritecond %{HTTP_USER_AGENT} ".*MSIE 6.0; Windows NT 5.1; SV1.$" [OR]
Rewritecond %{HTTP_USER_AGENT} ".*MSIE 6.0; Windows NT 5.1;1813.$"
RewriteCond %{HTTP_REFERER} ^$
RewriteCond %{HTTP:Accept-Encoding} ^$
RewriteRule ^.* http://www.avg.com/?LinkScannerSucks [R=307,L]
Tell us how we're doing: Please answer a few questions about your experience to help us improve nixCraft.
You may also be interested in other helpful articles:
- Five minutes to a secure Linux system
- Apache becomes the Leader in SSL Servers
- How To Find Out If ISP Is Throttling BitTorrent Traffic
- Linux: Iptables # 11 How to Block or open http/web service
- Installing Apache Php, and modules easily with ApacheToolbox
Discussion on This Article:
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: apache web server, avg, hat tip, rewritecond, rewriterule, scanner, web server log



is it possible to have this code for lighttpd?
Personally, if you are concerned about performance at all, I’d recommend NOT using .htaccess files for this but just put those rules within a Directory block inside the httpd.conf file. .htaccess files must be read through for every single request (allows for more dynamic nature) whereas the Directory blocks are read and cached once.
Very good, Thanx
See ya
Following is AVG’s official response to LinkScanner concerns:
We’d like to thank our web community for bringing these challenges to our attention, as building community trust and protecting all of our users is critical to us. We have modified the Search-Shield component of LinkScanner to only notify users of malicious sites; this modified version will be rolled out on July 9th 2008. As of this date. Search-Shield will no longer scan each search result online for new exploits, which was causing the spikes that webmasters addressed with us. However, it is important to note that AVG still offers full protection against potential exploits through the Active Surf-Shield component of our product, which checks every page for malicious content as it is visited but before it is opened.
@Bob, good suggestion.
@Pat, thanks for update.