summaryrefslogtreecommitdiff
path: root/apache2
diff options
context:
space:
mode:
Diffstat (limited to 'apache2')
-rw-r--r--apache2/conf.d/local-userdir.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/apache2/conf.d/local-userdir.conf b/apache2/conf.d/local-userdir.conf
new file mode 100644
index 0000000..90ea184
--- /dev/null
+++ b/apache2/conf.d/local-userdir.conf
@@ -0,0 +1,9 @@
+<IfModule mod_userdir.c>
+ UserDir public_html
+ UserDir disabled root
+
+ <Directory /home/*/public_html>
+ AllowOverride FileInfo AuthConfig Limit
+ Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
+ </Directory>
+</IfModule>