Diffstat (limited to '2.4/conf/modules.d/00_mod_userdir.conf')
1 files changed, 32 insertions, 0 deletions
diff --git a/2.4/conf/modules.d/00_mod_userdir.conf b/2.4/conf/modules.d/00_mod_userdir.conf
new file mode 100644
@@ -0,0 +1,32 @@
+# Settings for user home directories
+# 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.
+# Control access to UserDir directories. The following is an example
+# for a site where these directories are restricted to read-only.
+ AllowOverride FileInfo AuthConfig Limit Indexes
+ Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
+ <Limit GET POST OPTIONS>
+ Require all granted
+ <LimitExcept GET POST OPTIONS>
+ Require all denied
+# Suexec isn't really required to run cgi-scripts, but it's a really good
+# idea if you have multiple users serving websites...
+ Options ExecCGI
+ SetHandler cgi-script
+# vim: ts=4 filetype=apache