From cdc9a35019988259e73c978784e886bb3421321b Mon Sep 17 00:00:00 2001 From: Daniel Gruno Date: Wed, 11 Apr 2012 11:07:58 +0000 Subject: [PATCH] Merge rewrite intro with trunk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1324703 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/rewrite/intro.html.en | 17 +++++++++++------ docs/manual/rewrite/intro.xml | 17 +++++++++++------ 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/docs/manual/rewrite/intro.html.en b/docs/manual/rewrite/intro.html.en index de7827b7c8..ab7338717b 100644 --- a/docs/manual/rewrite/intro.html.en +++ b/docs/manual/rewrite/intro.html.en @@ -138,14 +138,19 @@ the expression.

CondPattern, back-references are internally created which can be used with the strings $N and %N (see below). These are available for creating - the strings Substitution and TestString. - Figure 1 shows to which locations the back-references are - transferred for expansion as well as illustrating the flow of the - RewriteRule, RewriteCond matching.

+ the strings Substitution and TestString as + outlined in the following chapters. Figure 1 shows to which + locations the back-references are transferred for expansion as + well as illustrating the flow of the RewriteRule, RewriteCond + matching. In the next chapters, we will be exploring how to use + these back-references, so do not fret if it seems a bit alien + to you at first. +

- Flow of RewriteRule and RewriteCond matching
- Figure 1: The back-reference flow through a rule. + Flow of RewriteRule and RewriteCond matching
+ Figure 1: The back-reference flow through a rule.
+ In this example, a request for /test/1234 would be transformed into /admin.foo?page=test&id=1234&host=admin.example.com.

diff --git a/docs/manual/rewrite/intro.xml b/docs/manual/rewrite/intro.xml index e9d2c19696..ad63516cf8 100644 --- a/docs/manual/rewrite/intro.xml +++ b/docs/manual/rewrite/intro.xml @@ -145,15 +145,20 @@ the expression.

CondPattern, back-references are internally created which can be used with the strings $N and %N (see below). These are available for creating - the strings Substitution and TestString. - Figure 1 shows to which locations the back-references are - transferred for expansion as well as illustrating the flow of the - RewriteRule, RewriteCond matching.

+ the strings Substitution and TestString as + outlined in the following chapters. Figure 1 shows to which + locations the back-references are transferred for expansion as + well as illustrating the flow of the RewriteRule, RewriteCond + matching. In the next chapters, we will be exploring how to use + these back-references, so do not fret if it seems a bit alien + to you at first. +

- Flow of RewriteRule and RewriteCond matching
- Figure 1: The back-reference flow through a rule. + Figure 1: The back-reference flow through a rule.
+ In this example, a request for /test/1234 would be transformed into /admin.foo?page=test&id=1234&host=admin.example.com.

-- 2.40.0