pulling in entire conf directory
[eostre.git] / drupal-configs / shopserver / apache2 / mods-available / userdir.conf
diff --git a/drupal-configs/shopserver/apache2/mods-available/userdir.conf b/drupal-configs/shopserver/apache2/mods-available/userdir.conf
new file mode 100644 (file)
index 0000000..a6c0da6
--- /dev/null
@@ -0,0 +1,17 @@
+<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>
+                       Require all granted
+               </Limit>
+               <LimitExcept GET POST OPTIONS>
+                       Require all denied
+               </LimitExcept>
+       </Directory>
+</IfModule>
+
+# vim: syntax=apache ts=4 sw=4 sts=4 sr noet