refactored htacces to use the new syntax

This commit is contained in:
Tim Krehan 2019-06-10 20:21:35 +02:00
parent e169a36e5b
commit 777c52ae06

View file

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