]> git.mxchange.org Git - friendica.git/blobdiff - .htaccess
Fixes/cleanup:
[friendica.git] / .htaccess
index 1b63f9ad6fb2b81060f5da54cdc82277ceb7f310..2348cdc38b36ca4eed776ae762eee7d2c8edf660 100644 (file)
--- a/.htaccess
+++ b/.htaccess
@@ -4,7 +4,14 @@ AddType audio/ogg .oga
 #AddHandler php53-cgi .php
 
 <FilesMatch "\.(out|log)$">
-Deny from all
+  <IfModule authz_host_module> 
+    #Apache 2.4
+    Require all denied
+  </IfModule>
+  <IfModule !authz_host_module>
+    #Apache 2.2
+    Deny from all
+  </IfModule>
 </FilesMatch>
 
 <IfModule mod_rewrite.c>