IfModule sometimes causes 500 Error... Latest Victimizes I don't care about:
YisouSpider
(Yisou Blocked) Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.1.2) Firefox/3.5.2
(zh-CN & OLD Browser are Blocked) Blank User Agent from ns2.justoweb.net
(OVH is blocked) <IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^$ [OR]
RewriteCond %{HTTP_USER_AGENT} ^.*(<|>|'|%0A|%0D|%27|%3C|%3E|%00).* [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^.*(360spider|80legs|a6-indexer|aboundex|adnorm|ahrefs|archiver|atwatch|
babya|baidu|bandit|beetle|bullseye|casper|classbot|capture|catalog|cfnetwork|chinaclaw|clip|clshttp|client|collector|
commentreader|commerce|control|confusion|copier|copyscape|copub|copyrightcheck|cr4nk|craftbot|crawler|crazy|curl|cuwhois|
darwin|data|deepnet|devsoft|disco|domain|dotbot|download|easou|ecatch|e-dev|elefent|email|enhancer|exabot|
explorador|external|extract|eyenetie|fetch|flash|filter|flip|gabot|genieo|getright|go.?is|go!zilla|grab|grabber|grapeshot|
harvest|heritrix|httpclient|httrack|ichiro|indy|inventory|ipod|jakarta|java|kkman|ktxn|larbin|leacher|library|libww|
linkdex|linkpad|loader|mail.ru|meanpath|missigua|mj12bot|moget|mojeekbot|mot-mpx220|mutant|myie2).* [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^.*(naver|netants|netscape|netseer|newt|niki|nikto|ninja|miner|nutch|offbyone|offline|
panscient|paros|pecl|phantomjs|piranha|pix|python|quester|reaper|regbot|sauger|scan|scraper|screener|sees|semalt|semrush|
seznam|sistrix|siteexplorer|sitesnagger|snippets|sogou|spbot|spider|sqworm|stripper|sucker|super|siphon|tarantula|teleport|turnitin|
urlappend|urllib|vampire|voila|webpictures|webspider|webster|wget|whack|win32|winhttp|wotbox|widow|win98|wisenut|wolf|wotbox|wwwoffle|
xaldon|y!oasis|yabrowser|yandex|yeti|yisou|youdao|yrspider|yx|zeerch|zemlya|zeus|zip|zyborg).* [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^.*(comodo\ spider|microsoft\ url\ control|seo\ robot|windows\ 3|windows\ 3.1|windows\ 3.11|
windows\ 95|windows\ 98|win98|win\ 9x|windows\ 2000|win32).* [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^.*(ar-sa|cz|ee-es|fi-fi|ru|ua|zh-CN).* [NC]
RewriteRule ^(.*)$ - [F,L]
</IfModule>
[edited by: phranque at 6:06 am (utc) on Mar 31, 2014]
[edit reason] fixed sidescroll [/edit]