Skip to content

Commit 9433fb6

Browse files
committed
Create httpd-userdir.conf
1 parent ec0fb5f commit 9433fb6

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Settings for user home directories
2+
#
3+
# Required module: mod_authz_core, mod_authz_host, mod_userdir
4+
5+
#
6+
# UserDir: The name of the directory that is appended onto a user's home
7+
# directory if a ~user request is received. Note that you must also set
8+
# the default access control for these directories, as in the example below.
9+
#
10+
UserDir "My Documents/My Website"
11+
12+
#
13+
# Control access to UserDir directories. The following is an example
14+
# for a site where these directories are restricted to read-only.
15+
#
16+
<Directory "C:/Users/*/My Documents/My Website">
17+
AllowOverride FileInfo AuthConfig Limit Indexes
18+
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
19+
Require method GET POST OPTIONS
20+
</Directory>
21+

0 commit comments

Comments
 (0)