summaryrefslogtreecommitdiffstats
path: root/docs/manual/mod/mod_substitute.xml
diff options
context:
space:
mode:
authorKen Coar <coar@apache.org>2015-04-15 19:46:53 +0200
committerKen Coar <coar@apache.org>2015-04-15 19:46:53 +0200
commit57ef10245b3cf962dcbe40d205d94c241bed7f0e (patch)
tree596b4aacaa742456ddd5a457f712481ae85dffc2 /docs/manual/mod/mod_substitute.xml
parentMention which indexoptions need fancyindexing. Rsesolves bz56985 (diff)
downloadapache2-57ef10245b3cf962dcbe40d205d94c241bed7f0e.tar.xz
apache2-57ef10245b3cf962dcbe40d205d94c241bed7f0e.zip
Enclose parameters in quotation marks for <{Files,Directory,Location}{,Match}>
containers. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1673892 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_substitute.xml')
-rw-r--r--docs/manual/mod/mod_substitute.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/manual/mod/mod_substitute.xml b/docs/manual/mod/mod_substitute.xml
index 8ecb572581..ce1a7a4554 100644
--- a/docs/manual/mod/mod_substitute.xml
+++ b/docs/manual/mod/mod_substitute.xml
@@ -71,7 +71,7 @@
<example><title>Example</title>
<highlight language="config">
-&lt;Location /&gt;
+&lt;Location "/"&gt;
AddOutputFilterByType SUBSTITUTE text/html
Substitute s/foo/bar/ni
&lt;/Location&gt;
@@ -83,7 +83,7 @@
<example><title>Example of using an alternate delimiter</title>
<highlight language="config">
-&lt;Location /&gt;
+&lt;Location "/"&gt;
AddOutputFilterByType SUBSTITUTE text/html
Substitute "s|&lt;BR */?&gt;|&lt;br /&gt;|i"
&lt;/Location&gt;
@@ -94,7 +94,7 @@
when regular expressions are used, as illustrated in the following example: </p>
<example><title>Example of using backreferences and captures</title>
<highlight language="config">
-&lt;Location /&gt;
+&lt;Location "/"&gt;
AddOutputFilterByType SUBSTITUTE text/html
# "foo=k,bar=k" -> "foo/bar=k"
Substitute "s|foo=(\w+),bar=\1|foo/bar=$1"
@@ -151,7 +151,7 @@ Substitute "s|http://internal.blog.example.com/|http://www.example.com/blog/|i"
<example><title>Example</title>
<highlight language="config">
-&lt;Location /&gt;
+&lt;Location "/"&gt;
AddOutputFilterByType SUBSTITUTE text/html
SubstituteMaxLineLength 10m
Substitute s/foo/bar/ni