Require HTTP auth to access roundcube
[sysconfig/apache2.git] / mods-available / userdir.conf
index 1e384a55dfe15610856f47ce50e366c62e7dd7f9..3b1305b755f0eb87c394a2b3dc259798dab9c9c2 100644 (file)
@@ -1,18 +1,17 @@
 <IfModule mod_userdir.c>
-        UserDir public_html
-        UserDir disabled root
+       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>
+       <Directory /home/*/public_html>
+               AllowOverride FileInfo AuthConfig Limit Indexes Options
+               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