]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_userdir.conf
adapter
[packages/apache.git] / apache-mod_userdir.conf
index ca87136fa8052edc684d4286983892ab7c944897..3b6fd290acc97e43a7f77612057b429af0d1d594 100644 (file)
@@ -1,4 +1,3 @@
-# $Id$
 LoadModule userdir_module         modules/mod_userdir.so
 
 # Settings for user home directories
@@ -21,12 +20,18 @@ 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
+               <IfModule mod_access_compat.c>
+                       Order allow,deny
+                       Allow from all
+               </IfModule>
        </Limit>
        <LimitExcept GET POST OPTIONS>
-               Order deny,allow
-               Deny from all
+               Require all denied
+               <IfModule mod_access_compat.c>
+                       Order deny,allow
+                       Deny from all
+               </IfModule>
        </LimitExcept>
        #<IfModule mod_php.c>
        #       php_admin_value open_basedir "/home/users:/usr/share/pear:/usr/share/php:/tmp"
This page took 0.037671 seconds and 4 git commands to generate.