httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 52000] RewriteRule documentation unclear/misleading about substitution
Date Wed, 11 Apr 2012 22:04:50 GMT

Filipus Klutiero <> changed:

           What    |Removed                     |Added
             Status|NEEDINFO                    |NEW

--- Comment #9 from Filipus Klutiero <> 2012-04-11 22:04:50 UTC ---
Thank you Daniel. There is the same problem at the beginning of the section:

Pattern is a perl compatible regular expression. On the first RewriteRule it is
applied to the (%-decoded) URL-path of the request; subsequent patterns are
applied to the output of the last matched RewriteRule.

The first RewriteRule is matched against a filesystem path in directory
context. By the way, I find it slightly misleading to say that the first
RewriteRule is *applied* to the pattern, since the pattern is not really
modified. I would say it is matched against it.

While we're at it. In:

In Directory and htaccess context, the Pattern will initially be matched
against the filesystem path, after removing the prefix that lead the server to
the current RewriteRule (e.g. "app1/index.html" or "index.html" depending on
where the directives are defined).

"lead" should read either "led" or "leads".

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message