Forum Moderators: phranque
from .htaccess
RewriteCond %{HTTP_USER_AGENT} ^(sit*ch*ck)?.?int*rn*ts**r.com [NC]
RewriteRule !^(robots\.txtĤforbidden\.html)$ - [F]
66.***.40.70 - - [19/Nov/2003:00:53:17 -0800] "GET //robots.txt HTTP/1.1" 403 568 "-" "sit*ch*ck.int*rn*ts**r.com (For more info see: http://sit*ch*ck.int*rn*ts**r.com)"
[edited by: jdMorgan at 10:18 pm (utc) on Nov. 19, 2003]
[edit reason] Obscured IP address & URL [/edit]
It's an interesting question at the margins of access control procedures, though -- It all depends on whether you want to consider a request for //robots.txt to be a request for /robots.txt.
I suppose you could also just 301 redirect //robots to /robots before your user-agent screening, and then let it get caught later. But as I said, it's a malformed request, and should be very rare.
Jim