Update .htaccess

Apache 2.4 compatibility
pull/10/head
HungryFeline 2017-03-12 00:50:40 +01:00 committed by GitHub
parent 02807b42ae
commit bcb76dc72a
1 changed files with 10 additions and 3 deletions

View File

@ -1,4 +1,11 @@
<FilesMatch "\.php$">
Order Deny,Allow
Deny from all
</FilesMatch>
# Apache 2.2
<IfModule !mod_authz_core.c>
Order Deny,Allow
Deny from all
</IfModule>
# Apache 2.4
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
</FilesMatch>