ultimate htaccess blacklist

just found another great resources on htaccess blacklist by perishable press. it's called ultimate htaccess blacklist. similar to my previous close to perfect htaccess ban list from webmasterworld forum. but the htaccess have all the rewritecond in one single super long line.

also, it have very nice and almost complete htaccess stuffs.

then, it's also building so-called 3G - third generation - blacklist which include a bunch of redirectmatch stuffs. but be carefull with these. they could/might breaks your cms if you do not understand the logics there.

among all, i will certainly put this into my htaccess:
# PART III: USER AGENTS
SetEnvIfNoCase User-Agent "Jakarta Commons" keep_out
SetEnvIfNoCase User-Agent "Y!OASIS/TEST"    keep_out
SetEnvIfNoCase User-Agent "libwww-perl"     keep_out
SetEnvIfNoCase User-Agent "MOT-MPx220"      keep_out
SetEnvIfNoCase User-Agent "MJ12bot"         keep_out
SetEnvIfNoCase User-Agent "Nutch"           keep_out
SetEnvIfNoCase User-Agent "cr4nk"           keep_out

order allow,deny
allow from all
deny from env=keep_out

just go check it out for all those .htaccess stuffs and come back tell me what do you think and how you build your htaccess

--
tips & tricks on computers and gadgets
denny on IT ; let's doIT
documenting the brain

Comments