diff --git a/.htaccess b/.htaccess index 81ef22c..4cda2c7 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/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