httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 30021] mod_rewrite documentation for 2.0 API Phases still discusses 2.0 in the future
Date Wed, 09 Nov 2011 03:43:05 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=30021

--- Comment #9 from Filipus Klutiero <chealer@gmail.com> 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: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message