You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Dean Gaudet <dg...@arctic.org> on 1997/08/01 06:23:33 UTC
Re: [PATCH] more backref interpolation for rewriting engine
+1, but only if you change the name of mod_rewrite to mod_sendmail_cf.
just kidding.
It is confusing for $N to back reference the url-pattern which appears
*AFTER* all the conditions. But other than that, sure why not.
mod_rewrite programs are about as confusing as perl programs ;)
Dean
On Tue, 29 Jul 1997, Ralf S. Engelschall wrote:
> Now the new functionality:
> 1. One can use $1..$n in any <cond-string-XX> to backreference the result
> of <url-pattern>.
> 2. One can use %1..%n in any <cond-string-XX> _AND_ in
> <url-string> to backreference the result from the last matching
> <cond-pattern-XX>. (initially this is empty for <cond-string-1>).