altarch-user / rpms / httpd

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