Help for this page

Select Code to Download


  1. or download this
    
    RewriteEngine On
    RewriteCond  %{HTTP_USER_AGENT}  ^BadBot.*
    RewriteRule  .* - [F]
    
  2. or download this
    RewriteMap robotmap dbm:/path/to/file/map.db
    
    RewriteCond %{HTTP_USER_AGENT} !=""
    RewriteCond ${robotmap:%{HTTP_USER_AGENT}|NOT-FOUND}  != NOT-FOUND
    RewriteRule .* - [F]