Blame SOURCES/userdir.conf

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