]>
Commit | Line | Data |
---|---|---|
408714fc | 1 | LoadModule userdir_module modules/mod_userdir.so |
264a55fb ER |
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 | # | |
5d28faf7 | 19 | <Directory /home/users/*/public_html> |
408714fc ER |
20 | AllowOverride FileInfo AuthConfig Limit Indexes |
21 | Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec | |
22 | <Limit GET POST OPTIONS> | |
40ca719a | 23 | Require all granted |
e92e5081 JR |
24 | <IfModule mod_access_compat.c> |
25 | Order allow,deny | |
26 | Allow from all | |
27 | </IfModule> | |
408714fc ER |
28 | </Limit> |
29 | <LimitExcept GET POST OPTIONS> | |
40ca719a | 30 | Require all denied |
e92e5081 JR |
31 | <IfModule mod_access_compat.c> |
32 | Order deny,allow | |
33 | Deny from all | |
34 | </IfModule> | |
408714fc | 35 | </LimitExcept> |
6dffc5d8 TP |
36 | #<IfModule mod_php.c> |
37 | # php_admin_value open_basedir "/home/users:/usr/share/pear:/usr/share/php:/tmp" | |
38 | #</IfModule> | |
264a55fb ER |
39 | </Directory> |
40 | ||
41 | </IfModule> |