[FIX] htaccess: use the right redirect

This commit is contained in:
Jannik Beyerstedt 2020-07-02 23:52:46 +02:00
parent f670429f70
commit bf471ad13d
1 changed files with 4 additions and 4 deletions

View File

@ -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]
</IfModule>