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