Recommend .htaccess
Brought to you by:
jberanek
Hi,
I have found there are 2 ".htaccess" files for diffenent Apache HTTPD version after 1.7.0 .
Please help to check if these 2 files can be merged as following content and renamed as ".htaccess".
<IfModule mod_authz_core.c>
<Files ~ "\.inc$">
Require all denied
</Files>
</IfModule>
<IfModule !mod_authz_core.c>
<Files ~ "\.inc$">
Order allow,deny
Deny from all
</Files>
</IfModule>
Thanks for your effort, that seems like a good idea.
We'd still want to ship it as a template/example, otherwise we'd break-by-default web server installations which specify "AllowOverride None" further up.