From: Rainer Jung Date: Tue, 26 Jul 2011 16:17:07 +0000 (+0000) Subject: Docs for mod_allowmethods: Clarify GET and HEAD X-Git-Tag: 2.3.14^2~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6376d929fc77a32c36796311ceb7845616ca86fc;p=apache Docs for mod_allowmethods: Clarify GET and HEAD are synonymous, switch example to "Location". git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1151151 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_allowmethods.xml b/docs/manual/mod/mod_allowmethods.xml index c19046d050..5a2cf8fa55 100644 --- a/docs/manual/mod/mod_allowmethods.xml +++ b/docs/manual/mod/mod_allowmethods.xml @@ -43,11 +43,11 @@ in order for it to rebuild correctly. used on an server. The most common configuration would be:

Example -<Directory />
+<Location />
- AllowMethods GET HEAD OPTIONS
+ AllowMethods GET POST OPTIONS
-</Directory> +</Location>
@@ -64,7 +64,8 @@ used on an server. The most common configuration would be:

The HTTP-methods are case sensitive, and are generally as per -RFC given in upper case. The reset keyword can be used +RFC given in upper case. The GET and HEAD methods are treated as +equivalent. The reset keyword can be used turn off mod_allowmethods in a deeper nested context:

Example