]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_userdir.conf
- drop obsolete and outdated manual inclusion of rpm macros
[packages/apache.git] / apache-mod_userdir.conf
index a4a92c107520c4a7a099d859bda0bb29fa68b503..534367a5cb354b6920f89da4b63ad957a423cabf 100644 (file)
@@ -1,4 +1,3 @@
-# $Id$
 LoadModule userdir_module         modules/mod_userdir.so
 
 # Settings for user home directories
@@ -19,15 +18,24 @@ 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"
+       #</IfModule>
 </Directory>
 
 </IfModule>
This page took 0.035437 seconds and 4 git commands to generate.