]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
More automated htaccess.sample
authorMikael Nordfeldth <mmn@hethane.se>
Sun, 10 May 2015 17:41:36 +0000 (19:41 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Sun, 10 May 2015 17:41:36 +0000 (19:41 +0200)
htaccess.sample

index f7513cc0c7dd54153a80600ea16eacd168c443c5..af6e19784d1aa3f720571594b92a2b5f216a0b3b 100644 (file)
 </IfModule>
 
 <FilesMatch "\.(ini)">
-  # For mod_access_compat in Apache <2.4
-  #Order allow,deny
-
-  # Use this instead for Apache >2.4 (mod_authz_host)
-  # Require all denied
+    <IfVersion < 2.3>
+        Order allow,deny
+        Deny from all
+    </IfVersion>
+    <IfVersion >= 2.3>
+        Require all denied
+    </IfVersion>
 </FilesMatch>