Make .htaccess files compatible wiht Apache 2.4

Put your suggestions here.
Post Reply
rorosa
Posts: 4
Joined: 31 Jul 2018, 00:01
Name: Ricardo Orosa
Location: Spain Madrid
Company Name: Covline
Contact:

Make .htaccess files compatible wiht Apache 2.4

Post by rorosa »

You can use this kind of condition to make the .htaccess files compatible between different versions of Apache:
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order Deny,Allow
Deny from all
</ifModule>
Post Reply