gc.sh: update server info when triggering a full gc
[girocco/readme.git] / htaccess
blob759ef2fa3c508747d39f080b38a9c6e897c79d76
1 # htaccess
2 # see cgi/htaccess for gitweb.cgi restrictions
4 RewriteEngine On
5 RewriteBase /
7 RewriteCond %{HTTP_USER_AGENT}  (Slurp|Bot|Spider|Riddler|ltx71) [NC]
8 RewriteRule ^r/ -                               [NS,F,L]
10 # If you have mod_status enabled AND this host ends up being the default
11 # host (see `apache2ctl -S` output), then you will probably need to
12 # uncomment the next line in order to make `apache2ctl status` work
13 #RewriteCond %{REQUEST_URI}     !=/server-status
14 RewriteCond %{REQUEST_FILENAME} !-f
15 RewriteRule .+                  -               [NS,R=404,L]