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 /cWithout 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx