View Single Post
Old 02-10-2012, 05:55 AM  
Emil
Confirmed User
 
Emil's Avatar
 
Join Date: Feb 2007
Location: Sweden
Posts: 5,650
Will this stop Baidu bot?

Code:
SetEnvIfNoCase User-Agent "^Baidu" bad_bot
<Directory />
 Order Allow,Deny 
Allow from all 
Deny from env=bad_bot 
</Directory>
If I paste that in httpd.conf will it stop the Baidu bot or is there something wrong with that bit of "code"?

Is there any better solution?
__________________
Free 🅑🅘🅣🅒🅞🅘🅝🅢 Every Hour (Yes, really. Free ₿itCoins.)
(Signup with ONLY your Email and Password. You can also refer people and get even more.)
Emil is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote