]> git.pld-linux.org Git - packages/apache.git/blob - apache-mod_userdir.conf
- more verbose files in system-wide dirs
[packages/apache.git] / apache-mod_userdir.conf
1 # $Id$
2 LoadModule userdir_module          modules/mod_userdir.so
3
4 # Settings for user home directories
5 #
6 # Required module: mod_userdir
7
8 <IfModule mod_userdir.c>
9 #
10 # UserDir: The name of the directory that is appended onto a user's home
11 # directory if a ~user request is received.  Note that you must also set
12 # the default access control for these directories, as in the example below.
13 #
14 UserDir public_html
15
16 #
17 # Control access to UserDir directories.  The following is an example
18 # for a site where these directories are restricted to read-only.
19 #
20 <Directory /home/users/*/public_html>
21         AllowOverride FileInfo AuthConfig Limit Indexes
22         Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
23         <Limit GET POST OPTIONS>
24                 Order allow,deny
25                 Allow from all
26         </Limit>
27         <LimitExcept GET POST OPTIONS>
28                 Order deny,allow
29                 Deny from all
30         </LimitExcept>
31         #<IfModule mod_php.c>
32         #       php_admin_value open_basedir "/home/users:/usr/share/pear:/usr/share/php:/tmp"
33         #</IfModule>
34 </Directory>
35
36 </IfModule>
This page took 0.123707 seconds and 3 git commands to generate.