centralized htaccess
This commit is contained in:
parent
c7a4c5e2c5
commit
b939cefb69
5 changed files with 12 additions and 6 deletions
12
.htaccess
Normal file → Executable file
12
.htaccess
Normal file → Executable file
|
@ -1,4 +1,14 @@
|
|||
<Files ~ "\.(ini|sql)$">
|
||||
RewriteEngine on
|
||||
|
||||
RewriteRule ^app/?.*$ - [F,L]
|
||||
RewriteRule ^data/logs/?.*$ - [F,L]
|
||||
|
||||
<Files ~ "\.(ini|sql|yml|md)$">
|
||||
Order Allow,Deny
|
||||
Deny from All
|
||||
</Files>
|
||||
|
||||
<Files ~ "^(\.|Dockerfile)">
|
||||
Order Allow,Deny
|
||||
Deny from All
|
||||
</Files>
|
|
@ -1 +0,0 @@
|
|||
deny from all
|
|
@ -1,2 +0,0 @@
|
|||
Order Allow,Deny
|
||||
Deny from All
|
|
@ -1 +0,0 @@
|
|||
deny from all
|
Loading…
Reference in a new issue