]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_userdir.conf
- rel 4; use currently available (unofficial) fix for latest 'Range' vuln.
[packages/apache.git] / apache-mod_userdir.conf
index 520da5fde81aea90d14a11b75172fc75d9dcac00..ca87136fa8052edc684d4286983892ab7c944897 100644 (file)
@@ -1,5 +1,5 @@
 # $Id$
-LoadModule userdir_module       modules/mod_userdir.so
+LoadModule userdir_module         modules/mod_userdir.so
 
 # Settings for user home directories
 #
@@ -17,19 +17,20 @@ 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>
-    AllowOverride FileInfo AuthConfig Limit Indexes
-    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
-    <Limit GET POST OPTIONS>
-        Order allow,deny
-        Allow from all
-    </Limit>
-    <LimitExcept GET POST OPTIONS>
-        Order deny,allow
-        Deny from all
-    </LimitExcept>
+<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
+       </Limit>
+       <LimitExcept GET POST OPTIONS>
+               Order deny,allow
+               Deny from all
+       </LimitExcept>
+       #<IfModule mod_php.c>
+       #       php_admin_value open_basedir "/home/users:/usr/share/pear:/usr/share/php:/tmp"
+       #</IfModule>
 </Directory>
 
 </IfModule>
-
-# vim: filetype=apache ts=4 sw=4 et
This page took 0.139002 seconds and 4 git commands to generate.