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