]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Update the configuration file templates to use the new authorization syntax
authorBradley Nicholes <bnicholes@apache.org>
Sat, 7 Jan 2006 00:01:49 +0000 (00:01 +0000)
committerBradley Nicholes <bnicholes@apache.org>
Sat, 7 Jan 2006 00:01:49 +0000 (00:01 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@366602 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/extra/httpd-autoindex.conf.in
docs/conf/extra/httpd-dav.conf.in
docs/conf/extra/httpd-info.conf.in
docs/conf/extra/httpd-manual.conf.in
docs/conf/extra/httpd-multilang-errordoc.conf.in
docs/conf/extra/httpd-userdir.conf.in
docs/conf/httpd.conf.in

index 13b400d1ad3306f85ad372ab7e9867b203b7124f..91ddb534c5b5918a09e892894e2bfc7ba20eb7c2 100644 (file)
@@ -22,8 +22,7 @@ Alias /icons/ "@exp_iconsdir@/"
 <Directory "@exp_iconsdir@">
     Options Indexes MultiViews
     AllowOverride None
-    Order allow,deny
-    Allow from all
+    Require all granted
 </Directory>
 
 #
index 56a1a819aba45614913a788176e186c7a47fa181..ec8a5e59b648650c0a88ab3ab24c406a5c612934 100644 (file)
@@ -24,6 +24,7 @@ Alias /uploads "@@ServerRoot@@/uploads"
     # You can use the htdigest program to create the password database:
     #   htdigest -c "@@ServerRoot@@/user.passwd" DAV-upload admin
     AuthUserFile "@@ServerRoot@@/user.passwd"
+    AuthDigestProvider file
 
     # Allow universal read-access, but writes are restricted
     # to the admin user.
index db316c032e11dcc77c608f4ecc0bb26842748fb4..261f096d7e1112625174e19d8d5ad84c2447d802 100644 (file)
@@ -12,9 +12,7 @@
 
 <Location /server-status>
     SetHandler server-status
-    Order deny,allow
-    Deny from all
-    Allow from .example.com
+    Require host .example.com
 </Location>
 
 #
@@ -31,7 +29,5 @@
 #
 <Location /server-info>
     SetHandler server-info
-    Order deny,allow
-    Deny from all
-    Allow from .example.com
+    Require host .example.com
 </Location>
index 874b0933ec4711be777bb995e1c35b3cf752a7f1..fc9e61694469889ba5b97c9320959e35be65f273 100644 (file)
@@ -12,8 +12,7 @@ AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "@exp_manualdir@$
 <Directory "@exp_manualdir@">
     Options Indexes
     AllowOverride None
-    Order allow,deny
-    Allow from all
+    Require all granted
 
     <Files *.html>
         SetHandler type-map
index d3192508b5ad850e3f4cd9fe24318e2d68f32692..617f5f607f83d37e93a2efa47c17a1056986d04f 100644 (file)
@@ -26,8 +26,7 @@ Alias /error/ "@exp_errordir@/"
     Options IncludesNoExec
     AddOutputFilter Includes html
     AddHandler type-map var
-    Order allow,deny
-    Allow from all
+    Require all granted
     LanguagePriority en cs de es fr it ja ko nl pl pt-br ro sv tr
     ForceLanguagePriority Prefer Fallback
 </Directory>
index f424dd437d8ed257603838b0e6f02ce90d078530..210fba0a71d12468f38e4c194c9356664a566d39 100644 (file)
@@ -17,12 +17,10 @@ UserDir public_html
     AllowOverride FileInfo AuthConfig Limit Indexes
     Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
     <Limit GET POST OPTIONS>
-        Order allow,deny
-        Allow from all
+        Require all granted
     </Limit>
     <LimitExcept GET POST OPTIONS>
-        Order deny,allow
-        Deny from all
+        Require all denied
     </LimitExcept>
 </Directory>
 
index e493562a1513b3b78c236413fe854224d659b8dd..a165e575125dfa5255a35b58ad57e0bd75a10617 100644 (file)
@@ -112,8 +112,7 @@ DocumentRoot "@exp_htdocsdir@"
 <Directory />
     Options FollowSymLinks
     AllowOverride None
-    Order deny,allow
-    Deny from all
+    Require all denied
 </Directory>
 
 #
@@ -151,8 +150,7 @@ DocumentRoot "@exp_htdocsdir@"
     #
     # Controls who can get stuff from this server.
     #
-    Order allow,deny
-    Allow from all
+    Require all granted
 
 </Directory>
 
@@ -169,9 +167,7 @@ DocumentRoot "@exp_htdocsdir@"
 # viewed by Web clients. 
 #
 <FilesMatch "^\.ht">
-    Order allow,deny
-    Deny from all
-    Satisfy All
+    Require all denied
 </FilesMatch>
 
 #
@@ -265,8 +261,7 @@ LogLevel warn
 <Directory "@exp_cgidir@">
     AllowOverride None
     Options None
-    Order allow,deny
-    Allow from all
+    Require all granted
 </Directory>
 
 #