From: Christophe Jaillet Date: Sat, 14 May 2016 07:16:30 +0000 (+0000) Subject: Fix typo in doc as spotted by Pete Edwards in online doc. X-Git-Tag: 2.5.0-alpha~1623 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7a4888abc180590fb7c5f97293b3293f07ee2a0e;p=apache Fix typo in doc as spotted by Pete Edwards in online doc. Improve layout. Synchronize with 2.4.x for relevant parts git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1743789 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_substitute.xml b/docs/manual/mod/mod_substitute.xml index e9c059c77e..2c085c0420 100644 --- a/docs/manual/mod/mod_substitute.xml +++ b/docs/manual/mod/mod_substitute.xml @@ -57,11 +57,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 @@ -73,7 +73,7 @@ <Location "/"> AddOutputFilterByType SUBSTITUTE text/html - Substitute s/foo/bar/ni + Substitute "s/foo/bar/ni" </Location> @@ -108,7 +108,7 @@ 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 @@ -123,7 +123,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.

@@ -154,7 +154,7 @@ Substitute "s|http://internal.blog.example.com/|http://www.example.com/blog/|i" <Location "/"> AddOutputFilterByType SUBSTITUTE text/html SubstituteMaxLineLength 10m - Substitute s/foo/bar/ni + Substitute "s/foo/bar/ni" </Location>
@@ -170,7 +170,7 @@ Substitute "s|http://internal.blog.example.com/|http://www.example.com/blog/|i" directory .htaccess FileInfo -Available in httpd 2.5 and later +Available in httpd 2.4.17 and later

Whether to apply the inherited Substitute