project-fsck-status.sh: --no-full mode can generate warnings
[girocco.git] / cgi / htaccess
blob4678740f83b33be7f2f1f297232a464b0ba37b03
1 # cgi/htaccess
2 # see htaccess for general restrictions
4 RewriteEngine On
5 RewriteBase /
7 RewriteCond %{HTTP_USER_AGENT}  (Slurp|Bot|Spider|Riddler|ltx71) [NC]
8 RewriteCond %{QUERY_STRING}     a=(blame|blame_data|blame_incremental|blob_plain|blobdiff|diff|snapshot|commitdiff|history|refs|shortlog) [OR]
9 RewriteCond %{QUERY_STRING}     a=log.*f=
10 RewriteRule .*                  -               [NS,F,L]
12 RewriteCond %{HTTP_USER_AGENT}  (Slurp|Bot|Spider|Riddler|ltx71) [NC]
13 RewriteRule /(blame|blame_data|blame_incremental|blob_plain|blobdiff|bundles|diff|snapshot|commitdiff|history|refs|shortlog)(/|$) - [NS,F,L]
15 RewriteCond %{HTTP_USER_AGENT}  (Slurp|Bot|Spider|Riddler|ltx71) [NC]
16 RewriteCond %{QUERY_STRING}     (.*h=.*;)hb=[^;]*(.*)
17 RewriteRule (.*)                $1?%1%2         [NS,R=303,NE,L]