From 2b3ff954c3638570a4ba5751bedb4064c41f168c Mon Sep 17 00:00:00 2001 From: wrongecho Date: Fri, 24 Jan 2025 19:30:22 +0000 Subject: [PATCH] Hide the .git and .github folders as well as config.php --- .htaccess | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .htaccess diff --git a/.htaccess b/.htaccess new file mode 100644 index 00000000..f38dbabc --- /dev/null +++ b/.htaccess @@ -0,0 +1,2 @@ +# Prevent access to .git, .github, and config.php +RedirectMatch 404 ^/(\.git|\.github|config\.php) \ No newline at end of file