Forum Moderators: phranque
so far Im stuck on:
Options all
RewriteEnging On
RewriteCond %{HTTP_USER_AGENT} ^msnbot/.* [NC,OR]
RewriteCond %{REMOTE_ADDR} ^72\.14\.192\.[8-9]$
RewriteRule?
I'm a little bit confused as to how to put the last part together so that msnbot gets a "proper" 404 reply for any page it requests.
thanks in advance.
THanks Jim,
Krack
RewriteCond %{REQUEST_URI} !^(robots\.txt¦my_404\.html)$
robots.txt should always be fetchable -- It's just a Web convention that if you're going to block a robot, you should tell it so. And if you block access to the custom error page needed to handle an error, then the server will go into a loop tyrying to handle the error, thereby generating another error, trying to handle that error and generating yet another, etc.
Jim