.htaccess files in tmp directory

Folks,

I have an installation of Piwik in a subfolder, and just noticed .htaccess files in the tmp/sessions and tmp/template_c with the following rules:


<Files "*">
<IfModule mod_access.c>
Deny from all
</IfModule>
<IfModule !mod_access_compat>
<IfModule mod_authz_host.c>
Deny from all
</IfModule>
</IfModule>
<IfModule mod_access_compat>
Deny from all
</IfModule>
</Files> 

Is this normal for a Piwik installation?

TIA

Yes. The ‘ifmodule’ checks are to accommodate different Apache versions.

If your Apache is configured with AllowOverride None, then the .htaccess files are ignored.

how can i dele that file , i can`t dele it ! pls help!