add the exit() to the env file in a better way, add some more htaccess rules to block the env file

This commit is contained in:
Nabeel Shahzad
2018-01-09 07:09:16 -06:00
parent 59ebe4e179
commit 5e097e9d89
3 changed files with 5 additions and 2 deletions

View File

@@ -25,6 +25,8 @@ RedirectMatch 403 ^/composer.json
RedirectMatch 403 ^/composer.lock
RedirectMatch 403 ^/composer.phar
RedirectMatch 403 ^/env.php.*?$
RedirectMatch 403 ^/env.php
RedirectMatch 403 ^/env.php$
RedirectMatch 403 ^/Makefile
RedirectMatch 403 ^/package.json
RedirectMatch 403 ^/package-lock.json