altarch-user / rpms / httpd

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