]> git.pld-linux.org Git - packages/apache.git/blame - apache-mod_userdir.conf
- up to 2.4.59
[packages/apache.git] / apache-mod_userdir.conf
CommitLineData
408714fc 1LoadModule 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#
13UserDir 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 20 AllowOverride FileInfo AuthConfig Limit Indexes
fc4ed9fd 21 Options Indexes SymLinksIfOwnerMatch IncludesNoExec
408714fc 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>
This page took 0.173114 seconds and 4 git commands to generate.