SOURCES: apache1-mod_autoindex.conf, apache1-mod_alias.conf, apach...

glen glen at pld-linux.org
Wed Dec 26 23:51:56 CET 2007


Author: glen                         Date: Wed Dec 26 22:51:56 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- mod_access directives protected by ifmodule

---- Files affected:
SOURCES:
   apache1-mod_autoindex.conf (1.5 -> 1.6) , apache1-mod_alias.conf (1.6 -> 1.7) , apache1-httpd.conf (1.16 -> 1.17) 

---- Diffs:

================================================================
Index: SOURCES/apache1-mod_autoindex.conf
diff -u SOURCES/apache1-mod_autoindex.conf:1.5 SOURCES/apache1-mod_autoindex.conf:1.6
--- SOURCES/apache1-mod_autoindex.conf:1.5	Wed Dec 26 22:44:27 2007
+++ SOURCES/apache1-mod_autoindex.conf	Wed Dec 26 23:51:50 2007
@@ -7,8 +7,10 @@
 	<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>
 

================================================================
Index: SOURCES/apache1-mod_alias.conf
diff -u SOURCES/apache1-mod_alias.conf:1.6 SOURCES/apache1-mod_alias.conf:1.7
--- SOURCES/apache1-mod_alias.conf:1.6	Wed Dec 26 23:17:25 2007
+++ SOURCES/apache1-mod_alias.conf	Wed Dec 26 23:51:51 2007
@@ -13,9 +13,11 @@
 <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: SOURCES/apache1-httpd.conf
diff -u SOURCES/apache1-httpd.conf:1.16 SOURCES/apache1-httpd.conf:1.17
--- SOURCES/apache1-httpd.conf:1.16	Thu Dec 14 01:38:13 2006
+++ SOURCES/apache1-httpd.conf	Wed Dec 26 23:51:51 2007
@@ -99,7 +99,9 @@
 	<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>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/apache1-mod_autoindex.conf?r1=1.5&r2=1.6&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/apache1-mod_alias.conf?r1=1.6&r2=1.7&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/apache1-httpd.conf?r1=1.16&r2=1.17&f=u



More information about the pld-cvs-commit mailing list