web-bey/.htaccess

13 lines
252 B
ApacheConf
Raw Normal View History

<IfModule mod_rewrite.c>
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]
</IfModule>