Author: glen                         Date: Sat Mar  5 16:40:46 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- don't die if mod_access/mod_alias are missing from apache

---- Files affected:
SOURCES:
   horde.conf (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SOURCES/horde.conf
diff -u SOURCES/horde.conf:1.5 SOURCES/horde.conf:1.6
--- SOURCES/horde.conf:1.5      Thu Oct 28 22:31:53 2004
+++ SOURCES/horde.conf  Sat Mar  5 17:40:41 2005
@@ -6,17 +6,23 @@
 #  the Apache httpd.conf file.  This version is for Red Hat 7.x systems.
 #
 
-Alias /horde /usr/share/horde
+<IfModule mod_alias.c>
+    Alias /horde /usr/share/horde
+</IfModule>
 
 <Directory /usr/share/horde>
     Options Indexes FollowSymLinks
     AllowOverride None
-    order allow,deny
-    allow from all
+    <IfModule mod_access.c>
+        order allow,deny
+        allow from all
+    </IfModule>
     <IfModule mod_php4.c>
         php_value include_path "/usr/share/pear:."
     </IfModule>
 </Directory>
+
+<IfModule mod_access.c>
 <Directory "/usr/share/horde/config">
     order deny,allow
     deny from all
@@ -37,3 +43,6 @@
     order deny,allow
     deny from all
 </Directory>
+</IfModule>
+
+# vim: filetype=apache ts=4 sw=4 et
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/horde.conf?r1=1.5&r2=1.6&f=u


_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to