mail.sh: eliminate dependency on Git 1.8.5 or later
[girocco/readme.git] / htaccess
blobaa9924b4f039084429190c818ee2b7dfe90ec926
1 # htaccess
2 # see cgi/htaccess for gitweb.cgi restrictions
4 RewriteEngine On
5 RewriteBase /
7 RewriteCond %{HTTP_USER_AGENT}  (Slurp|Bot|Spider) [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]