Forum Moderators: phranque
# Block Amazon Elastic Compute Cloud except ia_archiver, botmobi, & thumbnailers (Ask Jeeves?)
# Allow Ask Jeeves page thumbnailer
RewriteCond %{HTTP_USER_AGENT} !^Mozilla/5\.0\ \(X11;\ U;\ Linux\ i686;\ en-US;\ rv:1[.0-9]+)\)\ Gecko/20[0-9]{6,8}\ Firefox/[2-9][.0-9]+$
# Allow ia_archiver
RewriteCond %{HTTP_USER_AGENT}>%{HTTP:FROM} !^ia_archiver\ \(\+http://www\.alexa\.com/site/help/webmasters;\ crawler@alexa\.com\)>crawler@alexa\.com$
# Allow botmobi
RewriteCond %{HTTP_USER_AGENT} !\(botmobi\ find\.mobi/bot\.html\ find@mtld\.mobi\)/?$
# Allow xMarks/FoxMarks
RewriteCond %{HTTP_USER_AGENT} !^Mozilla/5\.0\ \(compatible;\ XmarksFetch/[1-9]\.[0-9]+;\ \+http://www\.xmarks\.com/about/crawler;\ info@xmarks\.com\)$
# 67.202.0.0-67.202.63.255, 72.21.192.0-72.21.223.255, 72.44.32.0-72.44.63.255, 75.101.128.0-75.101.255.255,
# 79.125.0.0-79.125.127.255, 174.129.0.0-174.129.255.255, 184.72.0.0-184.73.255.255, 204.177.154.0-204.177.155.255,
# 204.236.128.0-204.236.255.255, 207.171.160.0-207.171.191.255, 216.137.32.0-216.137.63.255, 216.182.224.0-216.182.239.255
RewriteCond %{REMOTE_ADDR} ^(67\.202\.([1-5]?[0-9]|6[0-3])|72\.21\.(19[2-9]|2[01][0-9]|22[0-3])|72\.44\.(3[2-9]|[45][0-9]|6[0-3])|75\.101\.(12[89]|1[3-9][0-9]|2[0-5][0-9])|79\.125\.([1-9]?[0-9]|1[01][0-9]|12[0-7])|174\.129|184\.7[23]|204\.177\.15[45]|204.236.(12[89]|1[3-9][0-9]|2[0-5][0-9])|207\.171\.1([678][0-9]|9[01])|216\.137\.(3[2-9]|[45][0-9]|6[0-3])|216\.182\.2(2[4-9]|3[0-9]))\.
RewriteRule ^ - [F]