diff --git a/.htaccess b/.htaccess index 7fa1115808..359d0c8307 100644 --- a/.htaccess +++ b/.htaccess @@ -52,3 +52,6 @@ RewriteRule ^badge/(\d{1,})/user/(\d{1,}) main/badge/issued_all.php?skill=$1&use RewriteRule ^main/exercice/(.*)$ main/exercise/$1 [QSA,L] # Support old URLs using the newscorm folder rather than lp RewriteRule ^main/newscorm/(.*)$ main/lp/$1 [QSA,L] + +# Deny access +RewriteRule ^(tests|.git) - [F,L,NC]