Pristine userdir
[sysconfig/apache2.git] / mods-available / userdir.conf
diff --git a/mods-available/userdir.conf b/mods-available/userdir.conf
new file mode 100644 (file)
index 0000000..1e384a5
--- /dev/null
@@ -0,0 +1,18 @@
+<IfModule mod_userdir.c>
+        UserDir public_html
+        UserDir disabled root
+
+        <Directory /home/*/public_html>
+                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>
+