From 200216aa5c3e4a3fb06e0ebd2bc8dded2ada86e6 Mon Sep 17 00:00:00 2001 From: Jannik Beyerstedt Date: Thu, 2 Jul 2020 23:53:21 +0200 Subject: [PATCH] [FIX] htaccess: use the right redirect --- .htaccess | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.htaccess b/.htaccess index 9598aa1..1ed0b46 100644 --- a/.htaccess +++ b/.htaccess @@ -4,9 +4,9 @@ RewriteEngine on RewriteBase / # block git repo -RewriteRule ^.git/(.*) error [R=301,L] -RewriteRule ^.gitattributes error [R=301,L] -RewriteRule ^.gitignore error [R=301,L] -RewriteRule ^.gitmodules error [R=301,L] +RewriteRule ^.git/(.*) - [F,L] +RewriteRule ^.gitattributes - [F,L] +RewriteRule ^.gitignore - [F,L] +RewriteRule ^.gitmodules - [F,L]