From: Rich Bowen Date: Fri, 1 May 2026 20:26:58 +0000 (+0000) Subject: Bug 70018: Document %N (RewriteCond) back-references alongside $N in substitution... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c515567d7d32f3ed7ef5b0deef66f8c2460077df;p=thirdparty%2Fapache%2Fhttpd.git Bug 70018: Document %N (RewriteCond) back-references alongside $N in substitution string description git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1933689 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_rewrite.xml b/docs/manual/mod/mod_rewrite.xml index 066c2342fc..815653f14b 100644 --- a/docs/manual/mod/mod_rewrite.xml +++ b/docs/manual/mod/mod_rewrite.xml @@ -1299,7 +1299,13 @@ cannot use $N in the substitution string! (N=0..9). $0 refers to the entire string matched by the Pattern, while $1..$9 refer to the corresponding - captured groups from the matched Pattern. The server-variables are the same + captured groups from the matched Pattern. + Similarly, back-references + %0..%9 refer to the most recently + matched + RewriteCond + CondPattern: %0 is the entire match and + %1..%9 are the captured groups. The server-variables are the same as for the TestString of a RewriteCond directive. The mapping-functions come from the