Forum Moderators: phranque
Any thoughts?
[edited by: jdMorgan at 3:52 am (utc) on April 26, 2004]
[edit reason] Removed specifics per TOS [/edit]
Welcome to WebmasterWorld [webmasterworld.com]!
We've had an ongoing discussion -- complete with huge 'bot lists in this 3-part thread [webmasterworld.com], which you might find interesting. That's the place to post your list -- or maybe just your unique discoveries to keep the size down.
You might want to try using wannabrowser to check your .htaccess code. If you're having problems with a ban list implemented using mod_rewrite, the two most common problems are missing [OR] flags on RewriteConds, and incorrect user-agent string anchoring.
Also, this thread [webmasterworld.com] and its predecessors describe a useful script developed to make your access-control job easier by automating part of the process.
Jim
Is there anything wrong with this syntax at all that would still allow bots to get to our site?
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^webvac [NC,OR]
RewriteRule ^.*$ http:[i][/i]//www.example.org/404.shtml [L,R]
<Files 403.shtml>
order allow,deny
allow from all
</Files>
[edited by: jdMorgan at 1:33 pm (utc) on April 26, 2004]
[edit reason] removed specifics per TOS [/edit]
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/403\.shtml$
RewriteCond %{HTTP_USER_AGENT} ^webvac [b][NC][/b]
RewriteRule .* - [F]
<Files 403.shtml>
order allow,deny
allow from all
</Files>
Jim
[wannabrowser.com...]
<edit> duh, just saw it in a previous post - sorry!</edit>