refactored htacces to use the new syntax

This commit is contained in:
Tim Krehan 2019-06-10 20:21:35 +02:00 committed by Tim Krehan
parent b5cebdadfb
commit bf2bdb186b

View file

@ -26,33 +26,27 @@
#Deny every *.php file
<Files *.php>
Order Deny,Allow
Deny from all
Require all granted
Allow from 127.0.0.1
</Files>
#allow following files
<Files index.php>
Order Allow,Deny
Allow from all
Require all granted
</Files>
<Files api.php>
Order Allow,Deny
Allow from all
Require all granted
</Files>
<Files login.php>
Order Allow,Deny
Allow from all
Require all granted
</Files>
<Files logout.php>
Order Allow,Deny
Allow from all
Require all granted
</Files>
<Files install*.php>
Order Allow,Deny
Allow from all
Require all granted
</Files>