mod_rewrite question
I'm attempting to block certain user-agents using mod_rewrite and for the most part I'm having success. There's one however that seems to sneak through regardless of how I write the rules.The user agent in the logs shows up as:
"larbin samualt9@bigfoot.com"
The rules include:
RewriteCond %{HTTP_USER_AGENT} larbin.* [OR]
RewriteCond %{HTTP_USER_AGENT} ^prog
RewriteRule !robot.shtml /robot.shtml [R]
I've tried just "larbin" and "^larbin" and none of those work either. Any ideas?