mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-27 15:40:00 +01:00
refactored htacces to use the new syntax
This commit is contained in:
parent
e169a36e5b
commit
777c52ae06
1 changed files with 6 additions and 12 deletions
18
.htaccess
18
.htaccess
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue