httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 53080] Apache mod_rewrite Introduction - RewriteRule Basics: misleading about what Pattern is matched against
Date Fri, 04 May 2012 20:10:33 GMT

--- Comment #8 from Kyle Hamilton <> ---
(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.

View raw message