#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>
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>
<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>