diff --git a/.htaccess b/.htaccess index afd4cab..71c5a9f 100644 --- a/.htaccess +++ b/.htaccess @@ -15,6 +15,8 @@ ErrorDocument 500 /assets/error-500.html RedirectMatch 403 /silverstripe-cache(/|$) + RedirectMatch 403 /vendor(/|$) + RedirectMatch 403 /composer\.(json|lock) diff --git a/composer.json b/composer.json index 467ca6a..400e90d 100644 --- a/composer.json +++ b/composer.json @@ -14,4 +14,4 @@ "phpunit/phpunit": "3.7.*" }, "minimum-stability": "dev" -} +} \ No newline at end of file diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 2bb3c87..1232b66 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -25,7 +25,7 @@ - + sanitychecks diff --git a/web.config b/web.config index a04afa1..1d956b5 100644 --- a/web.config +++ b/web.config @@ -1,5 +1,17 @@ - + + + + + + + + + + + + + \ No newline at end of file