]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Clarify references to arguments in the Header directive documentation.
authorDaniel Earl Poirier <poirier@apache.org>
Thu, 14 Jan 2010 15:52:52 +0000 (15:52 +0000)
committerDaniel Earl Poirier <poirier@apache.org>
Thu, 14 Jan 2010 15:52:52 +0000 (15:52 +0000)
(The first argument is optional, so referring to any argument by
absolute position is ambiguous).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@899257 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_headers.html.en
docs/manual/mod/mod_headers.xml

index 78bbcb5448d523faf39bf917a67761da764da050..42eb811617b6eb82ab83c52f797545cc1358c93d 100644 (file)
@@ -222,8 +222,9 @@ headers</td></tr>
     successful responses, and is always needed to affect non-<code>2<var>xx</var></code> 
     responses such as redirects or client errors.</p>
 
-    <p>The action it performs is determined by the second
-    argument. This can be one of the following values:</p>
+    <p>The action it performs is determined by the first
+    argument (second argument if a <var>condition</var> is specified).
+    This can be one of the following values:</p>
 
     <dl>
     <dt><code>set</code></dt>
@@ -284,7 +285,7 @@ headers</td></tr>
     expression</a>.</p>
 
     <p>For <code>set</code>, <code>append</code>, <code>merge</code> and
-    <code>add</code> a <var>value</var> is specified as the third argument.
+    <code>add</code> a <var>value</var> is specified as the next argument.
     If <var>value</var>
     contains spaces, it should be surrounded by double quotes.
     <var>value</var> may be a character string, a string containing format
index 26c2c99a15d3dae250c6f3bbfc5a594f9103628a..bef45ae4ddd9c32e416d3cf451e262e395161113 100644 (file)
@@ -306,8 +306,9 @@ headers</description>
     successful responses, and is always needed to affect non-<code>2<var>xx</var></code> 
     responses such as redirects or client errors.</p>
 
-    <p>The action it performs is determined by the second
-    argument. This can be one of the following values:</p>
+    <p>The action it performs is determined by the first
+    argument (second argument if a <var>condition</var> is specified).
+    This can be one of the following values:</p>
 
     <dl>
     <dt><code>set</code></dt>
@@ -368,7 +369,7 @@ headers</description>
     expression</glossary>.</p>
 
     <p>For <code>set</code>, <code>append</code>, <code>merge</code> and
-    <code>add</code> a <var>value</var> is specified as the third argument.
+    <code>add</code> a <var>value</var> is specified as the next argument.
     If <var>value</var>
     contains spaces, it should be surrounded by double quotes.
     <var>value</var> may be a character string, a string containing format