https://bz.apache.org/bugzilla/show_bug.cgi?id=70024
Bug ID: 70024
Summary: RewriteRule documentation incoherent about matched
string (“original URL-path”)
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: All
URL: https://httpd.apache.org/docs/trunk/en/mod/mod_rewrite
.html#rewriterule
OS: All
Status: NEW
Severity: normal
Priority: P3
Component: Documentation
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
The documentation of the RewriteRule directive contains:
> The Substitution of a rewrite rule is the string that replaces the original
> URL-path that was matched by Pattern.
But according to the “What is matched?” section above:
> In per-directory context (Directory and .htaccess), the Pattern is matched
> against only a partial path, for example a request of "/app1/index.html" may
> result in comparison against "app1/index.html" or "index.html" depending on
> the directory-path for which the RewriteRule applies.
I find “What is matched?” unclear (in particular “the currently mapped
filesystem path“) and am not sure it is correct, but I am confident that “the
original URL-path” is not accurate (only correct some of the time).
I suggest to give the subject of “What is matched?” a name (something like “the
input path”) and just reuse that name in the first sentence this quotes, rather
than try to redefine it.
🅭🄍: https://www.philippecloutier.com/Common+infrastructure+licensing#its
--
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]