]> granicus.if.org Git - apache/commitdiff
Docs for mod_allowmethods: Clarify GET and HEAD
authorRainer Jung <rjung@apache.org>
Tue, 26 Jul 2011 16:17:07 +0000 (16:17 +0000)
committerRainer Jung <rjung@apache.org>
Tue, 26 Jul 2011 16:17:07 +0000 (16:17 +0000)
are synonymous, switch example to "Location".

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

docs/manual/mod/mod_allowmethods.xml

index c19046d050b9f1669442cc1fe96008a05053645d..5a2cf8fa550ccfcc7213bb8208106cea6fa7f3a9 100644 (file)
@@ -43,11 +43,11 @@ in order for it to rebuild correctly.
 used on an server. The most common configuration would be:</p>
 
 <example><title>Example</title>
-&lt;Directory /&gt;<br />
+&lt;Location /&gt;<br />
 <indent>
-   AllowMethods GET HEAD OPTIONS<br />
+   AllowMethods GET POST OPTIONS<br />
 </indent>
-&lt;/Directory&gt;
+&lt;/Location&gt;
 </example>
 
 </summary>
@@ -64,7 +64,8 @@ used on an server. The most common configuration would be:</p>
 <usage>
 
 <p>The HTTP-methods are case sensitive, and are generally as per
-RFC given in upper case. The <code>reset</code> keyword can be used
+RFC given in upper case. The GET and HEAD methods are treated as
+equivalent. The <code>reset</code> keyword can be used
 turn off <module>mod_allowmethods</module> in a deeper nested context:</p>
 
 <example><title>Example</title>