Index: /package_branches/invirt-web/cherrypy/code/main.fcgi
===================================================================
--- /package_branches/invirt-web/cherrypy/code/main.fcgi	(revision 2649)
+++ /package_branches/invirt-web/cherrypy/code/main.fcgi	(revision 2650)
@@ -31,15 +31,23 @@
     else:
         conf_file = os.path.join(base_dir, 'main.conf')
-    app = cherrypy.tree.mount(InvirtWeb(),
-        '/',
-        {'/':      {'tools.staticdir.root': static_dir,
-                    'tools.invirtwebstate.on': True},
-        '/static': {'tools.staticdir.on': True,
-                    'tools.staticdir.dir': static_dir}
-         })
-    app.merge(conf_file)
+
+    app_config = {
+        '/': {
+            'tools.invirtwebstate.on': True,
+            },
+        '/static': {
+            'tools.staticdir.root': static_dir,
+            'tools.staticdir.on': True,
+            'tools.staticdir.dir': static_dir,
+            }
+        }
+                    
+    authApp = cherrypy.tree.mount(InvirtWeb(),
+                                  '/auth',
+                                  app_config)
+    authApp.merge(conf_file)
     unauthApp = cherrypy.tree.mount(InvirtUnauthWeb(),
                                     '/unauth',
-                                    {'/': {'tools.invirtwebstate.on': True}})
+                                    app_config)
     unauthApp.merge(conf_file)
     cherrypy.config.update(conf_file)
Index: /package_branches/invirt-web/cherrypy/files/etc/apache2/sites-available/default.mako
===================================================================
--- /package_branches/invirt-web/cherrypy/files/etc/apache2/sites-available/default.mako	(revision 2649)
+++ /package_branches/invirt-web/cherrypy/files/etc/apache2/sites-available/default.mako	(revision 2650)
@@ -24,5 +24,5 @@
 	RewriteRule ^/invirt - [L]
 	RewriteRule ^/kill.cgi - [L]
-	RewriteRule ^/(.*) /var/www/invirt-web/main.fcgi/$1 [L]
+	RewriteRule ^/(.*) /var/www/invirt-web/main.fcgi/unauth/$1 [L]
 
 	ErrorLog /var/log/apache2/error.log
Index: /package_branches/invirt-web/cherrypy/files/etc/apache2/sites-available/ssl.mako
===================================================================
--- /package_branches/invirt-web/cherrypy/files/etc/apache2/sites-available/ssl.mako	(revision 2649)
+++ /package_branches/invirt-web/cherrypy/files/etc/apache2/sites-available/ssl.mako	(revision 2650)
@@ -27,5 +27,5 @@
 	RewriteRule ^/trac(.*) ${tracuri}$1 [R,L]
 	RewriteRule ^/kill.cgi - [L]
-	RewriteRule ^/(.*) /var/www/invirt-web/main.fcgi/$1 [L]
+	RewriteRule ^/(.*) /var/www/invirt-web/main.fcgi/auth/$1 [L]
 
 	RewriteLog /var/log/apache2/rewrite.log
