]>
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 |
408714fc ER |
24 | </Limit> |
25 | <LimitExcept GET POST OPTIONS> | |
40ca719a | 26 | Require all denied |
408714fc | 27 | </LimitExcept> |
6dffc5d8 TP |
28 | #<IfModule mod_php.c> |
29 | # php_admin_value open_basedir "/home/users:/usr/share/pear:/usr/share/php:/tmp" | |
30 | #</IfModule> | |
264a55fb ER |
31 | </Directory> |
32 | ||
33 | </IfModule> |