install.sh: expand @cfg_name@ in processed scripts
[girocco.git] / htaccess
bloba8805a2d46f7046ff40e345a9a6cb1434b4fc849
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|Crawl) [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]