You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rj...@apache.org on 2011/07/26 18:17:08 UTC
svn commit: r1151151 -
/httpd/httpd/trunk/docs/manual/mod/mod_allowmethods.xml
Author: rjung
Date: Tue Jul 26 16:17:07 2011
New Revision: 1151151
URL: http://svn.apache.org/viewvc?rev=1151151&view=rev
Log:
Docs for mod_allowmethods: Clarify GET and HEAD
are synonymous, switch example to "Location".
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_allowmethods.xml
Modified: httpd/httpd/trunk/docs/manual/mod/mod_allowmethods.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_allowmethods.xml?rev=1151151&r1=1151150&r2=1151151&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_allowmethods.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_allowmethods.xml Tue Jul 26 16:17:07 2011
@@ -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>
-<Directory /><br />
+<Location /><br />
<indent>
- AllowMethods GET HEAD OPTIONS<br />
+ AllowMethods GET POST OPTIONS<br />
</indent>
-</Directory>
+</Location>
</example>
</summary>
@@ -64,7 +64,8 @@ used on an server. The most common confi
<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>