Mailing List Archive

[Bug 63716] New: mod_rewrite redirecting confusing wording
https://bz.apache.org/bugzilla/show_bug.cgi?id=63716

Bug ID: 63716
Summary: mod_rewrite redirecting confusing wording
Product: Apache httpd-2
Version: 2.4-HEAD
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Documentation
Assignee: docs@httpd.apache.org
Reporter: bill-apache@carpenter.org
Target Milestone: ---

On
https://httpd.apache.org/docs/current/rewrite/remapping.html#backward-compatibility,
the example "Backward Compatibility for file extension change" has a confusing
explanation.

These sentences:

We rewrite the name to its basename and test for existence of the new
extension. If it exists, we take that name, else we rewrite the URL to its
original state.

imply a sequence of changes. In fact, it's a sequence to tests to determine
whether the change should be made. Given that the evaluation order for
mod_rewrite directives is already counter-intuitive, it would be better to be
more precise here for the benefit of anyone who is trying to understand the
logic flow of the example.

--
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