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