summaryrefslogtreecommitdiffstats
path: root/docs/manual/mod/mod_substitute.html.en
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.html.en
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.html.en')
-rw-r--r--docs/manual/mod/mod_substitute.html.en10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/manual/mod/mod_substitute.html.en b/docs/manual/mod/mod_substitute.html.en
index f013f4cba0..742146a730 100644
--- a/docs/manual/mod/mod_substitute.html.en
+++ b/docs/manual/mod/mod_substitute.html.en
@@ -42,6 +42,7 @@
<li><img alt="" src="../images/down.gif" /> <a href="#substitutemaxlinelength">SubstituteMaxLineLength</a></li>
</ul>
<ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
+
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="Substitute" id="Substitute">Substitute</a> <a name="substitute" id="substitute">Directive</a></h2>
<table class="directive">
@@ -78,7 +79,7 @@
or regex of a subsequent one.</dd>
</dl>
- <div class="example"><h3>Example</h3><pre class="prettyprint lang-config">&lt;Location /&gt;
+ <div class="example"><h3>Example</h3><pre class="prettyprint lang-config">&lt;Location "/"&gt;
AddOutputFilterByType SUBSTITUTE text/html
Substitute s/foo/bar/ni
&lt;/Location&gt;</pre>
@@ -87,7 +88,7 @@
<p>If either the pattern or the substitution contain a slash
character then an alternative delimiter should be used:</p>
- <div class="example"><h3>Example of using an alternate delimiter</h3><pre class="prettyprint lang-config">&lt;Location /&gt;
+ <div class="example"><h3>Example of using an alternate delimiter</h3><pre class="prettyprint lang-config">&lt;Location "/"&gt;
AddOutputFilterByType SUBSTITUTE text/html
Substitute "s|&lt;BR */?&gt;|&lt;br /&gt;|i"
&lt;/Location&gt;</pre>
@@ -95,7 +96,7 @@
<p>Backreferences can be used in the comparison and in the substitution,
when regular expressions are used, as illustrated in the following example: </p>
- <div class="example"><h3>Example of using backreferences and captures</h3><pre class="prettyprint lang-config">&lt;Location /&gt;
+ <div class="example"><h3>Example of using backreferences and captures</h3><pre class="prettyprint lang-config">&lt;Location "/"&gt;
AddOutputFilterByType SUBSTITUTE text/html
# "foo=k,bar=k" -&gt; "foo/bar=k"
Substitute "s|foo=(\w+),bar=\1|foo/bar=$1"
@@ -146,7 +147,7 @@ Substitute "s|http://internal.blog.example.com/|http://www.example.com/blog/|i"<
<code>G</code> to provide the size in bytes, kilobytes, megabytes
or gigabytes respectively.</p>
- <div class="example"><h3>Example</h3><pre class="prettyprint lang-config">&lt;Location /&gt;
+ <div class="example"><h3>Example</h3><pre class="prettyprint lang-config">&lt;Location "/"&gt;
AddOutputFilterByType SUBSTITUTE text/html
SubstituteMaxLineLength 10m
Substitute s/foo/bar/ni
@@ -155,7 +156,6 @@ Substitute "s|http://internal.blog.example.com/|http://www.example.com/blog/|i"<
</div>
-
</div>
<div class="bottomlang">
<p><span>Available Languages: </span><a href="../en/mod/mod_substitute.html" title="English">&nbsp;en&nbsp;</a></p>