]> git.mxchange.org Git - friendica.git/blobdiff - view/.htaccess
recreate fix for #2617 on correct branch
[friendica.git] / view / .htaccess
index 559a5fcc09638da18364d85f11f2723b81b28488..04cd5468569ab649f5420390a4eb9fba2ddd8da7 100644 (file)
@@ -1,3 +1,10 @@
 <FilesMatch "\.tpl">
-Deny from all
-</FilesMatch>
\ No newline at end of file
+  <IfModule authz_host_module> 
+    #Apache 2.4
+    Require all denied
+  </IfModule>
+  <IfModule !authz_host_module>
+    #Apache 2.2
+    Deny from all
+  </IfModule>
+</FilesMatch>