From fe0f2906839b44b8437ede9e151a51b5edf44ebb Mon Sep 17 00:00:00 2001
From: Christophe Jaillet
Date: Sun, 15 May 2016 07:09:51 +0000
Subject: [PATCH] Fix typo in doc as spotted by Pete Edwards in online doc.
Improve layout. (mostly r1743790 + r1743798 in trunk)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1743885 13f79535-47bb-0310-9956-ffa450edef68
---
docs/manual/mod/mod_substitute.xml | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/docs/manual/mod/mod_substitute.xml b/docs/manual/mod/mod_substitute.xml
index c24dd07055..406274c4a9 100644
--- a/docs/manual/mod/mod_substitute.xml
+++ b/docs/manual/mod/mod_substitute.xml
@@ -58,11 +58,11 @@
Using the n
flag forces the pattern to be treated
as a fixed string.
f
- The f
flag causes mod_substitute to flatten the
+ The f
flag causes mod_substitute
to flatten the
result of a substitution allowing for later substitutions to
take place on the boundary of this one. This is the default.
q
- The q
flag causes mod_substitute to not
+ The q
flag causes mod_substitute
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 @@
<Location "/">
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"
</Location>
@@ -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.
- In this case, mod_substutite
can be used to rewrite
+
In this case, mod_substitute
can be used to rewrite
those URLs into something that will work from the front end:
Rewriting URLs embedded in proxied content
-ProxyPass "/blog/" "http://internal.blog.example.com"
+ProxyPass "/blog/" "http://internal.blog.example.com"
ProxyPassReverse "/blog/" "http://internal.blog.example.com/"
Substitute "s|http://internal.blog.example.com/|http://www.example.com/blog/|i"
@@ -124,7 +124,7 @@ Substitute "s|http://internal.blog.example.com/|http://www.example.com/blog/|i"
ProxyPassReverse
modifies any Location
(redirect) headers that are sent
by the back-end server, and, in this example,
- Substitute
takes care of the rest of the problem by
+ Substitute takes care of the rest of the problem by
fixing up the HTML response as well.
@@ -174,7 +174,7 @@ Substitute "s|http://internal.blog.example.com/|http://www.example.com/blog/|i"
Available in httpd 2.4.17 and later
- Whether to apply the inherited Substitute
+
Whether to apply the inherited Substitute
patterns first (on
), or after the ones of the current
context (off
).
SubstituteInheritBefore is itself inherited,
--
2.50.0