Forum Moderators: phranque
I want to ban "FDM 1.x" with .htaccess. This is what I put in the file:
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} ^FDM [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^justanotheragent/ [NC]
RewriteRule .* - [F]
I've noticed that there is also often a "FDM" in the description of the operating system/computer. See example below.
210.56.19.13 - - [14/May/2005:13:26:25 -0400] "GET /directory/page.htm HTTP/1.0" 200 11119 "http://www.google.com/search?sourceid=navclient&ie=UTF-8&rls=RNWE,RNWE:2005-12,RNWE:en&q=word1+word2" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; FDM)"
I take it that the FDMs have nothing to do with one another. The above visitor from Google came the day after I added line to .htaccess. I'm glad the person using Google got through OK. The "FDM 1.x" agent didn't come by since line addition, so I don't know if it will get 403'd.
What do you think?