Improve htaccess security
This commit is contained in:
parent
9d1b6be51f
commit
5940322cf9
11
.htaccess
11
.htaccess
|
|
@ -14,8 +14,15 @@
|
|||
##
|
||||
## Black list protected files
|
||||
##
|
||||
RewriteRule themes/.*/(layouts|pages|partials)/.*.htm index.php [L,NC]
|
||||
RewriteRule uploads/protected/.* index.php [L,NC]
|
||||
RewriteRule ^themes/.*/(layouts|pages|partials)/.*.htm index.php [L,NC]
|
||||
RewriteRule ^uploads/protected/.* index.php [L,NC]
|
||||
RewriteRule ^bootstrap/.* index.php [L,NC]
|
||||
RewriteRule ^config/.* index.php [L,NC]
|
||||
RewriteRule ^vendor/.* index.php [L,NC]
|
||||
RewriteRule ^storage/cms/.* index.php [L,NC]
|
||||
RewriteRule ^storage/logs/.* index.php [L,NC]
|
||||
RewriteRule ^storage/temp/.* index.php [L,NC]
|
||||
RewriteRule ^storage/framework/.* index.php [L,NC]
|
||||
|
||||
##
|
||||
## White listed folders and files
|
||||
|
|
|
|||
Loading…
Reference in New Issue