mirror of
https://github.com/apache/httpd.git
synced 2026-10-23 22:49:01 +03:00
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@164763 13f79535-47bb-0310-9956-ffa450edef68
29 lines
815 B
Plaintext
29 lines
815 B
Plaintext
# Settings for user home directories
|
|
#
|
|
# Required module: mod_userdir
|
|
|
|
#
|
|
# UserDir: The name of the directory that is appended onto a user's home
|
|
# directory if a ~user request is received. Note that you must also set
|
|
# the default access control for these directories, as in the example below.
|
|
#
|
|
UserDir public_html
|
|
|
|
#
|
|
# Control access to UserDir directories. The following is an example
|
|
# for a site where these directories are restricted to read-only.
|
|
#
|
|
<Directory /home/*/public_html>
|
|
AllowOverride FileInfo AuthConfig Limit Indexes
|
|
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
|
|
<Limit GET POST OPTIONS>
|
|
Order allow,deny
|
|
Allow from all
|
|
</Limit>
|
|
<LimitExcept GET POST OPTIONS>
|
|
Order deny,allow
|
|
Deny from all
|
|
</LimitExcept>
|
|
</Directory>
|
|
|