]> 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:48:04 +0000 (15:48 +0000)
committerDaniel Earl Poirier <poirier@apache.org>
Thu, 14 Jan 2010 15:48:04 +0000 (15:48 +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/trunk@899254 13f79535-47bb-0310-9956-ffa450edef68

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

index acdb4a5f52c1614fc6d4dfd7a1b4513b8e7c4867..35e94e6b0e8f9399256c9ec5faf5ce24ff79b79d 100644 (file)
@@ -226,8 +226,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>add</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 cc377a60e301c8dcdab045aa074b07474fd85865..d269e1846333441040b1aed2d1ca97c67bc181be 100644 (file)
@@ -315,8 +315,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>add</code></dt>
@@ -374,7 +375,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