]> git.pld-linux.org Git - packages/apache1.git/commitdiff
- mod_access directives protected by ifmodule
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 26 Dec 2007 22:51:51 +0000 (22:51 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache1-httpd.conf -> 1.17
    apache1-mod_alias.conf -> 1.7
    apache1-mod_autoindex.conf -> 1.6

apache1-httpd.conf
apache1-mod_alias.conf
apache1-mod_autoindex.conf

index 0de5cb93ecfd1ffc61f9d070e90b6aa7ec1a0e67..1cf0f8b39142d63ea1928547c1a9dc76654dc38a 100644 (file)
@@ -99,7 +99,9 @@ Include webapps.d/*.conf
        <Directory "/home/services/apache/cgi-bin">
                AllowOverride None
                Options None
-               Order allow,deny
-               Allow from all
+               <IfModule mod_access.c>
+                       Order allow,deny
+                       Allow from all
+               </IfModule>
        </Directory>
 </IfModule>
index 651e511f10a40e817397c63dee261d9da3d331f4..b8ecbd2a63f36b50f6093377a60efa0bf9d5f254 100644 (file)
@@ -13,9 +13,11 @@ Alias /manual/ "/usr/share/apache1-manual/"
 <Directory "/usr/share/apache1-manual">
        Options Indexes MultiViews
        AllowOverride None
-       order deny,allow
-       deny from all
-       allow from 127.0.0.1
+       <IfModule mod_access.c>
+               Order deny,allow
+               Deny from all
+               Allow from 127.0.0.1
+       </IfModule>
 </Directory>
 
 </IfModule>
index 464469a89731707395e6c0a2245f221e4be3bbbd..5fcb5cbd122268267ea087b612b33d235b0f4c35 100644 (file)
@@ -7,8 +7,10 @@ LoadModule autoindex_module modules/mod_autoindex.so
        <Directory "/usr/share/apache-icons">
                Options Indexes MultiViews
                AllowOverride None
-               Order allow,deny
-               Allow from all
+               <IfModule mod_access.c>
+                       Order allow,deny
+                       Allow from all
+               </IfModule>
        </Directory>
 </IfModule>
 
This page took 0.081413 seconds and 4 git commands to generate.