bugzilla at apache
May 4, 2012, 1:10 PM
Post #8 of 10
[Bug 53080] Apache mod_rewrite Introduction - RewriteRule Basics: misleading about what Pattern is matched against
[In reply to]
--- Comment #8 from Kyle Hamilton <kyanha [at] kyanha> ---
(In reply to comment #7)
> Are we trying to say something like
> Each rule encountered modifies the value of the required uri as you go
> along. So each rule gets the modified value from any previous rule.
> It appears that as we try to get more technically accurate we become less
> clear. doesn't feel like progress to me.
In each rule, there is a pattern, a substitution, and optionally a set of
The first rule's input is the URI requested by the client. For each rule, when
the pattern does not match, that rule's output is its unaltered input. When it
matches, the substitution/flags are applied and the substituted string is the
rule's output. The output of the prior rule is the input to the next. When
the rule is the final rule in the chain, its output is the final rewritten URI
or URL that httpd processes. There are flags which can tell httpd not to
process any rules following the flagged rule.
You are receiving this mail because:
You are the assignee for the bug.