summaryrefslogtreecommitdiffstats
path: root/docs/manual/mod/mod_substitute.xml
diff options
context:
space:
mode:
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