httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s.@apache.org
Subject svn commit: r1132790 - in /httpd/httpd/trunk/docs/conf/extra: httpd-dav.conf.in httpd-userdir.conf.in
Date Mon, 06 Jun 2011 21:40:42 GMT
Author: sf
Date: Mon Jun  6 21:40:41 2011
New Revision: 1132790

URL: http://svn.apache.org/viewvc?rev=1132790&view=rev
Log:
Use Require method instead of deprecated Limit/LimitExcept

Modified:
    httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in
    httpd/httpd/trunk/docs/conf/extra/httpd-userdir.conf.in

Modified: httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in?rev=1132790&r1=1132789&r2=1132790&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in (original)
+++ httpd/httpd/trunk/docs/conf/extra/httpd-dav.conf.in Mon Jun  6 21:40:41 2011
@@ -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>
 
 #

Modified: httpd/httpd/trunk/docs/conf/extra/httpd-userdir.conf.in
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/conf/extra/httpd-userdir.conf.in?rev=1132790&r1=1132789&r2=1132790&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/conf/extra/httpd-userdir.conf.in (original)
+++ httpd/httpd/trunk/docs/conf/extra/httpd-userdir.conf.in Mon Jun  6 21:40:41 2011
@@ -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>
 



Mime
View raw message