]> granicus.if.org Git - apache/commit
Enhanced and cleaned up the URL rewriting engine for 1.3:
authorRalf S. Engelschall <rse@apache.org>
Tue, 5 Aug 1997 10:49:44 +0000 (10:49 +0000)
committerRalf S. Engelschall <rse@apache.org>
Tue, 5 Aug 1997 10:49:44 +0000 (10:49 +0000)
commitfabd4abceffc2eeb296203796bdf0aeb34f2ad51
tree2cccf374b539dca8e9a9bd46081d3910654773b6
parentd67b8f7c7b6215b41d5ff558c45e0133075659f3
Enhanced and cleaned up the URL rewriting engine for 1.3:
First the grouped parts of RewriteRule pattern matches (parenthesis!) can be
accessed now via backreferences $1..$9 in RewriteConds test-against strings in
addition to RewriteRules subst string. Second the grouped parts of RewriteCond
pattern matches (parenthesis!) can be accessed now via backreferences %1..%9
both in following RewriteCond test-against strings and RewriteRules subst
string. This provides maximum flexibility through the use of backreferences.
Additionally the rewriting engine was cleaned up by putting common code to the
new expand_backrefs_inbuffer() function.

Submitted by: Ralf S. Engelschall
Reviewed by: Dean Gaudet, Ralf S. Engelschall

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78903 13f79535-47bb-0310-9956-ffa450edef68
docs/manual/mod/mod_rewrite.html