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