[FIX] htaccess: use the right redirect
This commit is contained in:
parent
f670429f70
commit
bf471ad13d
|
@ -4,9 +4,9 @@ RewriteEngine on
|
||||||
RewriteBase /
|
RewriteBase /
|
||||||
|
|
||||||
# block git repo
|
# block git repo
|
||||||
RewriteRule ^.git/(.*) error [R=301,L]
|
RewriteRule ^.git/(.*) - [F,L]
|
||||||
RewriteRule ^.gitattributes error [R=301,L]
|
RewriteRule ^.gitattributes - [F,L]
|
||||||
RewriteRule ^.gitignore error [R=301,L]
|
RewriteRule ^.gitignore - [F,L]
|
||||||
RewriteRule ^.gitmodules error [R=301,L]
|
RewriteRule ^.gitmodules - [F,L]
|
||||||
|
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
Loading…
Reference in a new issue