Subversion Repositories configs

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
192 - 1
#
2
# UserDir: The name of the directory that is appended onto a user's home
3
# directory if a ~user request is received.
4
#
5
# The path to the end user account 'public_html' directory must be
6
# accessible to the webserver userid.  This usually means that ~userid
7
# must have permissions of 711, ~userid/public_html must have permissions
8
# of 755, and documents contained therein must be world-readable.
9
# Otherwise, the client will only receive a "403 Forbidden" message.
10
#
11
<IfModule mod_userdir.c>
12
    #
13
    # UserDir is disabled by default since it can confirm the presence
14
    # of a username on the system (depending on home directory
15
    # permissions).
16
    #
17
    UserDir disabled
18
 
19
    #
20
    # To enable requests to /~user/ to serve the user's public_html
21
    # directory, remove the "UserDir disabled" line above, and uncomment
22
    # the following line instead:
23
    #
24
    #UserDir public_html
25
</IfModule>
26
 
27
#
28
# Control access to UserDir directories.  The following is an example
29
# for a site where these directories are restricted to read-only.
30
#
31
<Directory "/home/*/public_html">
32
    AllowOverride FileInfo AuthConfig Limit Indexes
33
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
34
    Require method GET POST OPTIONS
35
</Directory>
36