Page is a not externally linkable
jdMorgan - 5:45 am on Oct 29, 2003 (gmt 0)
> I understand the last line, but would you explain the first two? (Note correction of code line 1 from first post. Also, replace "¦" with a solid vertical pipe character from your keyboard.) Jim
keyplyr,
RewriteCond %{HTTP_USER_AGENT} ^Mozilla
RewriteCond %{HTTP_USER_AGENT} !(Slurp¦surfsafely)
RewriteRule ^robots\.txt$ /someotherfile [L]
Line 1: IF the User-agent string starts with "Mozilla" (most browsers)
Line 2: AND IF the User-agent string does not contain "Slurp" or "surfsafely" (Two 'bots w/UAs that start with "Mozilla")
Line 3: THEN do the rewrite of robots.txt to some other file.