Axel-Stéphane SMORGRAV wrote:
Rules below would be tested, but they wouldn't match unless the pattern starts 
with scheme + :// + url-path.

unless the RewriteCond pattern starts with /. The above matches just fine.

I meant this hypothetical case

RewriteRule ^/a /b [R]
RewriteRule ^/b /c

Without the L-flag, and after /a has been substituted with /b, the second rule would be tested not against /b but against http://[host]/b, so the result is not /c.
So removing the L flag in that case won't change r->filename to /c

while using

RewriteRule ^/a /b [R]
RewriteRule /b /c

would now end up in /c and no external redirection takes place at all.

--
Robert

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to