I'm trying to use .htaccess to ban some spambots from my website. I've found several examples via Google. I wanted to test to see if they would work so I decided to try and ban the user agent "msie" (which should prevent me from seeing my own site with msie). However, this doesn't work. Can someone tell me what I'm doing wrong:

SetEnvIfNoCase User-Agent ".*msie.*" spambot=1
<Limit GET POST PUT>
Order allow,deny
deny from env=spambot
allow from all
</Limit>