title: htaccess block *bot and bot*
body: <p>I'm having trouble blocking two bad bots that keep sucking bandwidth from my site and I'm certain it has something to do with the * in the user-agent name that they use.</p>
  
  <p>Right now, I'm using the following code to block the bad bots (this is an excerpt)...</p>
  
  <pre><code># block bad bots
  RewriteCond %{HTTP_USER_AGENT} ^$ [OR]
  RewriteCond %{HTTP_USER_AGENT} ^spider$ [OR]
  RewriteCond %{HTTP_USER_AGENT} ^robot$ [OR]
  RewriteCond %{HTTP_USER_AGENT} ^crawl$ [OR]
  RewriteCond %{HTTP_USER_AGENT} ^discovery$
  RewriteRule .* - [F,L]
  </code></pre>
  
  <p>When I try to do <code>RewriteCond %{HTTP_USER_AGENT} ^*bot$ [OR]</code> or <code>RewriteCond %{HTTP_USER_AGENT} ^(*bot)$ [OR]</code> I get an error.</p>
  
  <p>Guessing there is a pretty easy way to do this that I just haven't found yet on Google.</p>