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?