From 3c1e17996dbce33fbb17a008bb12df7223e2cc1c Mon Sep 17 00:00:00 2001 From: thopic Date: Thu, 5 Oct 2023 10:47:12 +0200 Subject: [PATCH] Forbid access to .git/ --- .htaccess | 1 + 1 file changed, 1 insertion(+) diff --git a/.htaccess b/.htaccess index c85df72..e7c71b5 100644 --- a/.htaccess +++ b/.htaccess @@ -1,2 +1,3 @@ RewriteEngine on FallbackResource /index.php +RedirectMatch 403 ^/.git/.*$