32 lines
921 B
Plaintext
32 lines
921 B
Plaintext
<IfModule userdir_module>
|
|
# Settings for user home directories
|
|
#
|
|
# Required module: mod_authz_core, mod_authz_host, 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 "My Documents/My Website"
|
|
|
|
#
|
|
# Control access to UserDir directories. The following is an example
|
|
# for a site where these directories are restricted to read-only.
|
|
#
|
|
<Directory "C:/Users/*/My Documents/My Website">
|
|
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>
|
|
|
|
|
|
</IfModule>
|