]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_userdir.conf
- load unixd_module
[packages/apache.git] / apache-mod_userdir.conf
index 5164797e036f12da094384004b1ce15893152eb5..30520ad6071d5548d746217719f34b8d034548ae 100644 (file)
@@ -17,17 +17,18 @@ UserDir public_html
 # Control access to UserDir directories.  The following is an example
 # for a site where these directories are restricted to read-only.
 #
-<Directory /home/*/public_html>
+<Directory /home/users/*/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
        </Limit>
        <LimitExcept GET POST OPTIONS>
-               Order deny,allow
-               Deny from all
+               Require all denied
        </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.031817 seconds and 4 git commands to generate.