mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-24 06:40:01 +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
|
#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>
|
||||||
|
|
Loading…
Reference in a new issue