0e3136
#
0e3136
# UserDir: The name of the directory that is appended onto a user's home
0e3136
# directory if a ~user request is received.
0e3136
#
0e3136
# The path to the end user account 'public_html' directory must be
0e3136
# accessible to the webserver userid.  This usually means that ~userid
0e3136
# must have permissions of 711, ~userid/public_html must have permissions
0e3136
# of 755, and documents contained therein must be world-readable.
0e3136
# Otherwise, the client will only receive a "403 Forbidden" message.
0e3136
#
0e3136
<IfModule mod_userdir.c>
0e3136
    #
0e3136
    # UserDir is disabled by default since it can confirm the presence
0e3136
    # of a username on the system (depending on home directory
0e3136
    # permissions).
0e3136
    #
0e3136
    UserDir disabled
0e3136
0e3136
    #
0e3136
    # To enable requests to /~user/ to serve the user's public_html
0e3136
    # directory, remove the "UserDir disabled" line above, and uncomment
0e3136
    # the following line instead:
0e3136
    # 
0e3136
    #UserDir public_html
0e3136
</IfModule>
0e3136
0e3136
#
0e3136
# Control access to UserDir directories.  The following is an example
0e3136
# for a site where these directories are restricted to read-only.
0e3136
#
0e3136
<Directory "/home/*/public_html">
0e3136
    AllowOverride FileInfo AuthConfig Limit Indexes
0e3136
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
0e3136
    Require method GET POST OPTIONS
0e3136
</Directory>
0e3136