Do some config cleanup in invirt-web.
[invirt/packages/invirt-web.git] / files / etc / apache2 / sites-available / default.mako
index dcbc191..9a2943d 100644 (file)
@@ -22,10 +22,7 @@ NameVirtualHost *:80
        RewriteRule ^/admin/static(.*) /static/$1 [L]
        RewriteRule ^/trac(.*) ${tracuri}$1 [R,L]
        RewriteRule ^/invirt - [L]
-       RewriteRule ^/sipb-xen(.*) /invirt$1 [PT]
-       RewriteRule ^/kill.cgi - [L]
-       RewriteRule ^/~ - [L]
-       RewriteRule ^/(.*) /var/www/invirt-web/main.fcgi/$1 [L]
+       RewriteRule ^/(.*) /var/www/invirt-web/unauth.fcgi/$1 [L]
 
        ErrorLog /var/log/apache2/error.log
 
@@ -35,14 +32,4 @@ NameVirtualHost *:80
 
        CustomLog /var/log/apache2/access.log combined
        ServerSignature On
-
-    Alias /doc/ "/usr/share/doc/"
-    <Directory "/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
-    </Directory>
-
 </VirtualHost>