Merge branch 'master' into rorcz
[girocco.git] / htaccess
blobb2e85ccdce9c38f697e2bedd43608acc0c2ca98f
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 RewriteCond %{HTTP_USER_AGENT}  ([sS]lurp|[bB]ot|[sS]pider)
12 RewriteRule /(blame|blob_plain|blobdiff|diff|snapshot|commitdiff|history|shortlog)/ - [F,L]
14 RewriteBase /
15 RewriteCond %{HTTP_USER_AGENT}  ([sS]lurp|[bB]ot|[sS]pider)
16 RewriteCond %{QUERY_STRING}     (.*h=.*;)hb=[^;]*(.*)
17 RewriteRule (.*)                $1?%1%2         [R=303,NE,L]