]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - htaccess.sample
Don't accept non-objects before testing with "instanceof".
[quix0rs-gnu-social.git] / 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>