test commit. verify mirror work
[girocco/mytab.git] / htaccess
blobc9f82351505db3549ff0cf07ada4f1f8ac444b62
1 RewriteEngine On
3 RewriteCond %{HTTP_USER_AGENT}  ([sS]lurp|[bB]ot|[sS]pider)
4 RewriteRule ^r/ -                               [F,L]
6 RewriteCond %{HTTP_USER_AGENT}  ([sS]lurp|[bB]ot|[sS]pider)
7 RewriteCond %{QUERY_STRING}     a=(blame|blob_plain|blobdiff|diff|snapshot|commitdiff|history|shortlog) [OR]
8 RewriteCond %{QUERY_STRING}     a=log.*f=
9 RewriteRule .*                  -               [F,L]
11 RewriteBase /
12 RewriteCond %{HTTP_USER_AGENT}  ([sS]lurp|[bB]ot|[sS]pider)
13 RewriteCond %{QUERY_STRING}     (.*h=.*;)hb=[^;]*(.*)
14 RewriteRule (.*)                $1?%1%2         [R=303,NE,L]