From 6376d929fc77a32c36796311ceb7845616ca86fc Mon Sep 17 00:00:00 2001
From: Rainer Jung
Date: Tue, 26 Jul 2011 16:17:07 +0000
Subject: [PATCH] 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
---
docs/manual/mod/mod_allowmethods.xml | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
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
--
2.40.0