]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
docs: Insert mod_rewrite overview flowchart as Figure 1 in rewrite/tech
authorRich Bowen <rbowen@apache.org>
Mon, 25 May 2026 18:21:52 +0000 (18:21 +0000)
committerRich Bowen <rbowen@apache.org>
Mon, 25 May 2026 18:21:52 +0000 (18:21 +0000)
Add new per-request rewrite process diagram (Figure 1) showing both
per-server and per-directory phases with RewriteCond evaluation.
Renumber existing ruleset diagram to Figure 2.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1934610 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/tech.xml

index 166ebc04313e71846e6989c7f487097efed25bd0..9e3922b4ac6349748e18bdfa82c7d3ca25acd8f5 100644 (file)
@@ -213,6 +213,14 @@ RewriteRule "^/horses/ponies$" "/special-handler" [L]
       configuration contexts. Only the final result processing is
       different.</p>
 
+<p class="figure">
+      <img src="../images/mod_rewrite_fig1.png"
+          alt="Overview of per-request rewrite processing through
+          per-server and per-directory phases" /><br />
+      <dfn>Figure 1:</dfn>The per-request rewrite process showing
+      both per-server and per-directory rule processing phases
+</p>
+
       <p>The order of rules in the ruleset is important because the
       rewriting engine processes them in a special (and not very
       obvious) order. The rule is this: The rewriting engine loops
@@ -222,11 +230,11 @@ RewriteRule "^/horses/ponies$" "/special-handler" [L]
       existing corresponding conditions (<code>RewriteCond</code>
       directives). For historical reasons the conditions are given
       first, and so the control flow is a little bit long-winded. See
-      Figure 1 for more details.</p>
+      Figure 2 for more details.</p>
 <p class="figure">
       <img src="../images/rewrite_process_uri.png"
           alt="Flow of RewriteRule and RewriteCond matching" /><br />
-      <dfn>Figure 1:</dfn>The control flow through the rewriting ruleset
+      <dfn>Figure 2:</dfn>The control flow through the rewriting ruleset
 </p>
       <p>First the URL is matched against the
       <em>Pattern</em> of each rule. If it fails, <module>mod_rewrite</module>