]> git.pld-linux.org Git - packages/apache1.git/blobdiff - apache1-common.conf
- from apache-mod_proxy-khk.patch
[packages/apache1.git] / apache1-common.conf
index a414281013614c8cb904d0cf0ec91e6c010dc2fb..111ef1f47d4c3fc0e19973462aeb4126658ca2c2 100644 (file)
@@ -2,31 +2,37 @@
 
 # Each directory to which Apache has access, can be configured with respect
 # to which services and features are allowed and/or disabled in that
-# directory (and its subdirectories). 
+# directory (and its subdirectories).
 
-# First, we configure the "default" to be a very restrictive set of 
-# permissions.  
+# First, we configure the "default" to be a very restrictive set of
+# permissions.
 <Directory />
     Options FollowSymLinks
     AllowOverride None
 
-    Order deny,allow
-    Deny from all
+    <IfModule mod_access.c>
+        Order deny,allow
+        Deny from all
+    </IfModule>
 </Directory>
 
+# These should be changed to whatever You set DocumentRoot to.
 DocumentRoot "/home/services/apache/html"
-# This should be changed to whatever you set DocumentRoot to.
 <Directory "/home/services/apache/html">
        Options Indexes FollowSymLinks MultiViews
        AllowOverride None
-       Order allow,deny
-       Allow from all
+    <IfModule mod_access.c>
+        Order allow,deny
+        Allow from all
+    </IfModule>
 </Directory>
 
-<Files ~ "^\.ht">
-       Order allow,deny
-       Deny from all
-       Satisfy All
-</Files>
+<IfModule mod_access.c>
+    <Files ~ "^\.ht">
+        Order allow,deny
+        Deny from all
+        Satisfy All
+    </Files>
+</IfModule>
 
 # vim: filetype=apache ts=4 sw=4 et
This page took 0.032361 seconds and 4 git commands to generate.