From: Bradley Nicholes Date: Sat, 7 Jan 2006 00:01:49 +0000 (+0000) Subject: Update the configuration file templates to use the new authorization syntax X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=de0a8728c9f4e545f9462356983673e6e8819202;p=thirdparty%2Fapache%2Fhttpd.git Update the configuration file templates to use the new authorization syntax git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/authz-dev@366602 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/conf/extra/httpd-autoindex.conf.in b/docs/conf/extra/httpd-autoindex.conf.in index 13b400d1ad3..91ddb534c5b 100644 --- a/docs/conf/extra/httpd-autoindex.conf.in +++ b/docs/conf/extra/httpd-autoindex.conf.in @@ -22,8 +22,7 @@ Alias /icons/ "@exp_iconsdir@/" Options Indexes MultiViews AllowOverride None - Order allow,deny - Allow from all + Require all granted # diff --git a/docs/conf/extra/httpd-dav.conf.in b/docs/conf/extra/httpd-dav.conf.in index 56a1a819aba..ec8a5e59b64 100644 --- a/docs/conf/extra/httpd-dav.conf.in +++ b/docs/conf/extra/httpd-dav.conf.in @@ -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. diff --git a/docs/conf/extra/httpd-info.conf.in b/docs/conf/extra/httpd-info.conf.in index db316c032e1..261f096d7e1 100644 --- a/docs/conf/extra/httpd-info.conf.in +++ b/docs/conf/extra/httpd-info.conf.in @@ -12,9 +12,7 @@ SetHandler server-status - Order deny,allow - Deny from all - Allow from .example.com + Require host .example.com # @@ -31,7 +29,5 @@ # SetHandler server-info - Order deny,allow - Deny from all - Allow from .example.com + Require host .example.com diff --git a/docs/conf/extra/httpd-manual.conf.in b/docs/conf/extra/httpd-manual.conf.in index 874b0933ec4..fc9e6169446 100644 --- a/docs/conf/extra/httpd-manual.conf.in +++ b/docs/conf/extra/httpd-manual.conf.in @@ -12,8 +12,7 @@ AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "@exp_manualdir@$ Options Indexes AllowOverride None - Order allow,deny - Allow from all + Require all granted SetHandler type-map diff --git a/docs/conf/extra/httpd-multilang-errordoc.conf.in b/docs/conf/extra/httpd-multilang-errordoc.conf.in index d3192508b5a..617f5f607f8 100644 --- a/docs/conf/extra/httpd-multilang-errordoc.conf.in +++ b/docs/conf/extra/httpd-multilang-errordoc.conf.in @@ -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 diff --git a/docs/conf/extra/httpd-userdir.conf.in b/docs/conf/extra/httpd-userdir.conf.in index f424dd437d8..210fba0a71d 100644 --- a/docs/conf/extra/httpd-userdir.conf.in +++ b/docs/conf/extra/httpd-userdir.conf.in @@ -17,12 +17,10 @@ UserDir public_html AllowOverride FileInfo AuthConfig Limit Indexes Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec - Order allow,deny - Allow from all + Require all granted - Order deny,allow - Deny from all + Require all denied diff --git a/docs/conf/httpd.conf.in b/docs/conf/httpd.conf.in index e493562a151..a165e575125 100644 --- a/docs/conf/httpd.conf.in +++ b/docs/conf/httpd.conf.in @@ -112,8 +112,7 @@ DocumentRoot "@exp_htdocsdir@" Options FollowSymLinks AllowOverride None - Order deny,allow - Deny from all + Require all denied # @@ -151,8 +150,7 @@ DocumentRoot "@exp_htdocsdir@" # # Controls who can get stuff from this server. # - Order allow,deny - Allow from all + Require all granted @@ -169,9 +167,7 @@ DocumentRoot "@exp_htdocsdir@" # viewed by Web clients. # - Order allow,deny - Deny from all - Satisfy All + Require all denied # @@ -265,8 +261,7 @@ LogLevel warn AllowOverride None Options None - Order allow,deny - Allow from all + Require all granted #