httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r1743885 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_substitute.xml
Date Sun, 15 May 2016 07:09:51 GMT
Author: jailletc36
Date: Sun May 15 07:09:51 2016
New Revision: 1743885

Fix typo in doc as spotted by Pete Edwards  in online doc.
Improve layout.
(mostly r1743790 + r1743798)


Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_substitute.xml
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_substitute.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_substitute.xml Sun May 15 07:09:51 2016
@@ -58,11 +58,11 @@
         Using the <code>n</code> flag forces the pattern to be treated
         as a fixed string.</dd>
-        <dd>The <code>f</code> flag causes mod_substitute to flatten the
+        <dd>The <code>f</code> flag causes <code>mod_substitute</code>
to flatten the
         result of a substitution allowing for later substitutions to
         take place on the boundary of this one. This is the default.</dd>
-        <dd>The <code>q</code> flag causes mod_substitute to not
+        <dd>The <code>q</code> flag causes <code>mod_substitute</code>
to not
         flatten the buckets after each substitution. This can
         result in much faster response and a decrease in memory
         utilization, but should only be used if there is no possibility
@@ -97,7 +97,7 @@
     <highlight language="config">
 &lt;Location "/"&gt;
     AddOutputFilterByType SUBSTITUTE text/html
-    # "foo=k,bar=k" -> "foo/bar=k" 
+    # "foo=k,bar=k" -> "foo/bar=k"
     Substitute "s|foo=(\w+),bar=\1|foo/bar=$1"
@@ -109,12 +109,12 @@
     to the back-end server. These URLs don't work for the end-user,
     since the back-end server is unreachable.</p>
-    <p>In this case, <code>mod_substutite</code> can be used to rewrite
+    <p>In this case, <code>mod_substitute</code> can be used to rewrite
     those URLs into something that will work from the front end:</p>
     <example><title>Rewriting URLs embedded in proxied content</title>
     <highlight language="config">
-ProxyPass "/blog/" ""
+ProxyPass        "/blog/" ""
 ProxyPassReverse "/blog/" ""
 Substitute "s|||i"
@@ -124,7 +124,7 @@ Substitute "s|
     <p><directive module="mod_proxy">ProxyPassReverse</directive>
     modifies any <code>Location</code> (redirect) headers that are sent
     by the back-end server, and, in this example,
-    <code>Substitute</code> takes care of the rest of the problem by
+    <directive>Substitute</directive> takes care of the rest of the problem by
     fixing up the HTML response as well.</p>
@@ -174,7 +174,7 @@ Substitute "s|
 <compatibility>Available in httpd 2.4.17 and later</compatibility>
-    <p>Whether to apply the inherited <directive>Substitute</directive>
+    <p>Whether to apply the inherited <directive module="mod_substitute">Substitute</directive>
     patterns first (<code>on</code>), or after the ones of the current
     context (<code>off</code>).
     <directive>SubstituteInheritBefore</directive> is itself inherited,

View raw message