13 lines
220 B
ApacheConf
13 lines
220 B
ApacheConf
<IfModule mod_rewrite.c>
|
|
|
|
RewriteEngine on
|
|
RewriteBase /
|
|
|
|
# block git repo
|
|
RewriteRule ^.git/(.*) - [F,L]
|
|
RewriteRule ^.gitattributes - [F,L]
|
|
RewriteRule ^.gitignore - [F,L]
|
|
RewriteRule ^.gitmodules - [F,L]
|
|
|
|
</IfModule>
|