https://issues.apache.org/bugzilla/show_bug.cgi?id=30021
--- Comment #9 from Filipus Klutiero <[email protected]> 2011-11-09 03:43:05 UTC --- Thank you Rich. What I meant was that the documentation seems to say there is a loop in all cases: In per-directory context (i.e., within .htaccess files and Directory blocks), these rules are being applied after a URL has already been translated to a filename. Because of this, mod_rewrite temporarily translates the filename back into a URL, by stripping off directory path before appling the rules. (See the RewriteBase directive to see how you can further manipulate how this is handled.) Then, a new internal subrequest is issued with the new URL. This restarts processing of the request phases. A subrequest would seem to generate a subrequest, which would itself generate a subrequest, etc. I imagine a request only generates a subrequest in some conditions, but the documentation doesn't mention that such conditions exist. By the way, there is a closing parenthesis missing: (Be careful to avoid rules that can cause looping. See RewriteLooping for further discussion of this problem. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
