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