block bad spiders/bots/agents
Hello,I am having trouble with server load, and found these bots/agents visiting forums on my servers at daily basis,
..."-" "Mozilla/4.0 (compatible; MSIE 5.0; Windows NT; DigExt; DTS Agent"
and these seems to block them quite nicely,
RewriteEngine on
RewriteCond %{HTTP_USER_AGENT} "dts agent"
RewriteRule .* - [F]
My question is, if and where I can set this up at server level? maybe in httpd/conf/htttpd.conf file? to protect the whole server from this bot.
Thank you.