]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Use Require method instead of deprecated Limit/LimitExcept
authorStefan Fritsch <sf@apache.org>
Mon, 6 Jun 2011 21:40:41 +0000 (21:40 +0000)
committerStefan Fritsch <sf@apache.org>
Mon, 6 Jun 2011 21:40:41 +0000 (21:40 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1132790 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/extra/httpd-dav.conf.in
docs/conf/extra/httpd-userdir.conf.in

index da8bfefe1db401be1e474305650448c290cc80d2..b196ed029df9f2cfa9566b6d4dc48ab39077876e 100644 (file)
@@ -28,9 +28,10 @@ Alias /uploads "@@ServerRoot@@/uploads"
 
     # Allow universal read-access, but writes are restricted
     # to the admin user.
-    <LimitExcept GET POST OPTIONS>
-        require user admin
-    </LimitExcept>
+    <RequireAny>
+        Require method GET POST OPTIONS
+        Require user admin
+    </RequireAny>
 </Directory>
 
 #
index 2a030fd051b6ba377b68cc55defc04da80e35d6b..a744322c19ad81455704f698f2075e3c198f2b41 100644 (file)
@@ -16,11 +16,6 @@ UserDir public_html
 <Directory "/home/*/public_html">
     AllowOverride FileInfo AuthConfig Limit Indexes
     Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
-    <Limit GET POST OPTIONS>
-        Require all granted
-    </Limit>
-    <LimitExcept GET POST OPTIONS>
-        Require all denied
-    </LimitExcept>
+    Require method GET POST OPTIONS
 </Directory>