Created
October 28, 2014 19:21
-
-
Save cameri/4ca298937f56b7b4b709 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 www | |
# | |
# Control access to UserDir directories. The following is an example | |
# for a site where these directories are restricted to read-only. | |
# | |
<Directory "/home/*/www"> | |
AllowOverride FileInfo AuthConfig Limit Indexes | |
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec | |
Require method GET POST OPTIONS | |
</Directory> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment