From 94d653ee62a3b515470fc9653d2d28077d89f6db Mon Sep 17 00:00:00 2001 From: Markus Birth Date: Sun, 7 Feb 2021 15:48:07 +0100 Subject: [PATCH] Make .git folder inaccessible via Apache. --- .htaccess | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.htaccess b/.htaccess index 08beeb1..eec0ac4 100644 --- a/.htaccess +++ b/.htaccess @@ -1,3 +1,5 @@ +RedirectMatch 404 ^/.git/ + Require all denied