X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/blobdiff_plain/e741fd1d0affaa05859561b5a3219ee055c10c07..cf6f5dce52a7c2ecdd5da56a5687c23689d0b9e3:/files/etc/apache2/sites-available/default.mako diff --git a/files/etc/apache2/sites-available/default.mako b/files/etc/apache2/sites-available/default.mako index 7ec0903..37ea6e1 100644 --- a/files/etc/apache2/sites-available/default.mako +++ b/files/etc/apache2/sites-available/default.mako @@ -22,8 +22,9 @@ NameVirtualHost *:80 RewriteRule ^/admin/static(.*) /static/$1 [L] RewriteRule ^/trac(.*) ${tracuri}$1 [R,L] RewriteRule ^/invirt - [L] - RewriteRule ^/kill.cgi - [L] - RewriteRule ^/(.*) /var/www/invirt-web/main.fcgi/unauth/$1 [L] + RewriteRule ^/(git-favicon\.png|git-logo\.png|gitweb\.css|gitweb\.js)$ - [L] + RewriteRule ^/gitweb(/.*)?$ - [L] + RewriteRule ^/(.*) /var/www/invirt-web/unauth.fcgi/$1 [L] ErrorLog /var/log/apache2/error.log @@ -33,14 +34,4 @@ NameVirtualHost *:80 CustomLog /var/log/apache2/access.log combined ServerSignature On - - Alias /doc/ "/usr/share/doc/" - - Options Indexes MultiViews FollowSymLinks - AllowOverride None - Order deny,allow - Deny from all - Allow from 127.0.0.0/255.0.0.0 ::1/128 - -