Merge pull request #4653 from fabrixxm/dev/update-vagrant
[friendica.git/.git] / util / .htaccess
index b311c14..7b1f94f 100644 (file)
@@ -1,5 +1,12 @@
 Options -Indexes
 
-# Remove the following line or modify it to run the string translator utility
-Deny from all
+# Remove the following lines or modify it to run the string translator utility
+<IfModule authz_host_module> 
+  #Apache 2.4
+  Require all denied
+</IfModule>
+<IfModule !authz_host_module>
+  #Apache 2.2
+  Deny from all
+</IfModule>