]> TLD Linux GIT Repositories - packages/apache.git/blobdiff - apache-mod_userdir.conf
- updated to 2.4.48
[packages/apache.git] / apache-mod_userdir.conf
index 967522711c88a542077262a9b35d943f438b0919..534367a5cb354b6920f89da4b63ad957a423cabf 100644 (file)
@@ -1,4 +1,3 @@
-
 LoadModule userdir_module         modules/mod_userdir.so
 
 # Settings for user home directories
@@ -19,14 +18,20 @@ UserDir public_html
 #
 <Directory /home/users/*/public_html>
        AllowOverride FileInfo AuthConfig Limit Indexes
-       Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
+       Options 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"