The directive isn't wrong as stated - ie, it does work - but I feel it's
authorRich Bowen <rbowen@apache.org>
Thu, 14 Dec 2017 19:28:55 +0000 (19:28 +0000)
committerRich Bowen <rbowen@apache.org>
Thu, 14 Dec 2017 19:28:55 +0000 (19:28 +0000)
potentially confusing to leave off the closing "|" in the example.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1818196 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_substitute.xml

index 31ab5fadc2def0d6fa900b033b6f888db8fcf591..7863728bdf7d6fbe488f8daedfada0f6ab76b302 100644 (file)
 &lt;Location "/"&gt;
     AddOutputFilterByType SUBSTITUTE text/html
     # "foo=k,bar=k" -> "foo/bar=k"
-    Substitute "s|foo=(\w+),bar=\1|foo/bar=$1"
+    Substitute "s|foo=(\w+),bar=\1|foo/bar=$1|"
 &lt;/Location&gt;
     </highlight>
     </example>