]> git.pld-linux.org Git - packages/apache.git/commitdiff
- 2.4 way of access control
authorAdam Gołębiowski <adamg@pld-linux.org>
Sun, 26 Feb 2012 09:05:31 +0000 (09:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-common.conf -> 1.10
    apache-example.net.conf -> 1.5
    apache-httpd.conf -> 1.61
    apache-manual.conf -> 1.3
    apache-mod_authz_host.conf -> 1.3
    apache-mod_autoindex.conf -> 1.11
    apache-mod_info.conf -> 1.10
    apache-mod_proxy.conf -> 1.10
    apache-mod_status.conf -> 1.9
    apache-mod_userdir.conf -> 1.7
    apache-multilang-errordoc.conf -> 1.3

apache-common.conf
apache-example.net.conf
apache-httpd.conf
apache-manual.conf
apache-mod_authz_host.conf
apache-mod_autoindex.conf
apache-mod_info.conf
apache-mod_proxy.conf
apache-mod_status.conf
apache-mod_userdir.conf
apache-multilang-errordoc.conf

index 05686e9666a584d6725887cd3a9bf8424e295489..8643668fb619b8f4be48370700fdfde7c44569d0 100644 (file)
@@ -16,8 +16,7 @@ DocumentRoot "/home/services/httpd/html"
        Options FollowSymLinks
        AllowOverride None
        <IfModule mod_authz_host.c>
-               Order deny,allow
-               Deny from all
+               Require all denied
        </IfModule>
 </Directory>
 
@@ -50,8 +49,7 @@ DocumentRoot "/home/services/httpd/html"
        # Controls who can get stuff from this server.
        #
        <IfModule mod_authz_host.c>
-               Order allow,deny
-               Allow from all
+               Require all granted
        </IfModule>
 
 </Directory>
index 2d65d7f18789bf5a8951053d23546eeab835603c..c08629d732576ee0fabe33f64db380451638641c 100644 (file)
@@ -18,7 +18,6 @@
 #  AllowOverride None
 #  Options None
 #  <IfModule mod_authz_host.c>
-#    Order allow,deny
-#    Allow from all
+#    Require all granted
 #  </IfModule>
 #</Directory>
index 8ca6558778ea8866bed3c996ce352c898c7e0f87..aed7d549351f1177b6f002464182b671e9fb0284 100644 (file)
@@ -85,8 +85,7 @@ IncludeOptional webapps.d/*.conf
                AllowOverride None
                Options None
                <IfModule mod_authz_host.c>
-                       Order allow,deny
-                       Allow from all
+                       Require all granted
                </IfModule>
        </Directory>
 </IfModule>
index a94735d99b762218d8aea97c8b6515b889c1459d..77edb70db0a83efa3935a00837a09c285baf2fa7 100644 (file)
@@ -12,8 +12,7 @@ AliasMatch ^/manual(?:/(?:de|en|es|fr|ja|ko|pt-br|ru))?(/.*)?$ "/home/services/h
 <Directory "/home/services/httpd/manual">
        Options Indexes
        AllowOverride None
-       Order allow,deny
-       Allow from all
+       Require all granted
 
        <Files *.html>
                SetHandler type-map
index 65350d60f4e67dfec83a3e59d6db4583b9e8900d..cee3f8a52f46667e0ce2cef79ebdb6997a047d7d 100644 (file)
@@ -6,7 +6,6 @@ LoadModule authz_host_module modules/mod_authz_host.so
 #
 <IfModule authz_host_module>
        <FilesMatch "^\.ht">
-               Order allow,deny
-               Deny from all
+               Require all denied
        </FilesMatch>
 </IfModule>
index e3e4cd9f44e64dec0cd8ad30dd3bcc653d66f095..662ff20f8e6bb715f57247a1fe77b174696a467d 100644 (file)
@@ -26,8 +26,7 @@ Alias /icons/ "/home/services/httpd/icons/"
        Options Indexes MultiViews
        AllowOverride None
        <IfModule mod_authz_host.c>
-               Order allow,deny
-               Allow from all
+               Require all granted
        </IfModule>
 </Directory>
 
index 5fea501fe5760da8713c2b3c41475ae297982a2f..9e3cbf2baaa7a35c3d2fae80808704f9e51c09c9 100644 (file)
@@ -14,9 +14,7 @@ LoadModule info_module                modules/mod_info.so
 #
 <Location /server-info>
        SetHandler server-info
-       Order deny,allow
-       Deny from all
-       Allow from 127.0.0.1
+       Require local
 </Location>
 
 </IfModule>
index 19f3d583daea1fd70e73a104db8314781a8a4814..af9f14602a88a662a32c5e884bc2ebbe96cf75f5 100644 (file)
@@ -20,9 +20,8 @@ ProxyRequests On
 # http://victim:25/ and sending raw data.
 #
 <Proxy *>
-       Order deny,allow
-       Deny from all
-#      Allow from .your-domain.com
+       Require all denied
+#      Require host .your-domain.com
 </Proxy>
 
 #
index 401bad061254993c365ed83e36f5c4e565acca69..f579d27c0e406b93e10018849c14b5b6b41d0751 100644 (file)
@@ -15,9 +15,7 @@ LoadModule status_module              modules/mod_status.so
 
 <Location /server-status>
        SetHandler server-status
-       Order deny,allow
-       Deny from all
-       Allow from 127.0.0.1
+       Require local
 </Location>
 
 #
index ca87136fa8052edc684d4286983892ab7c944897..30520ad6071d5548d746217719f34b8d034548ae 100644 (file)
@@ -21,12 +21,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>
        #<IfModule mod_php.c>
        #       php_admin_value open_basedir "/home/users:/usr/share/pear:/usr/share/php:/tmp"
index f865b6f5984ae468f3652914f8dc621389411941..0cc6af5427ba5e1b7acd61b2b857d714d148c0cc 100644 (file)
@@ -26,8 +26,7 @@ Alias /error/ "/home/services/httpd/error/"
        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>
This page took 0.048368 seconds and 4 git commands to generate.