From 4d6a7d2abbaef13def765c24cd7a4235a8b46d49 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 19 Jun 2023 08:52:44 +0200 Subject: [PATCH] new hta --- .htaccess | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.htaccess b/.htaccess index b463395..37490b4 100644 --- a/.htaccess +++ b/.htaccess @@ -14,3 +14,6 @@ Redirect 302 /phpmyadmin https://phpmyadmin.wiai.de #RewriteCond %{HTTP_HOST} ^wiai\.de$ #RewriteRule (.*) http://www.wiai.de/$1 [R=301,L] #RewriteRule ^$ dashboard [L] + +#Forbid git +RedirectMatch 404 /\.git