Changeset 2729 for package_branches/invirt-web/cherrypy-rebased
- Timestamp:
- Dec 20, 2009, 9:48:06 PM (15 years ago)
- Location:
- package_branches/invirt-web/cherrypy-rebased
- Files:
-
- 2 edited
- 1 copied
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
package_branches/invirt-web/cherrypy-rebased/code/auth.fcgi
r2728 r2729 1 1 #!/usr/bin/python 2 """Main FastCGI entry point for web interface"""2 """Main FastCGI entry point for authenticated web interface""" 3 3 4 4 import cherrypy 5 5 import os 6 6 import sys 7 from main import InvirtWeb , InvirtUnauthWeb7 from main import InvirtWeb 8 8 9 9 dev = False … … 43 43 } 44 44 45 authApp = cherrypy.tree.mount(InvirtWeb(), 46 '/auth', 47 app_config) 48 authApp.merge(conf_file) 49 unauthApp = cherrypy.tree.mount(InvirtUnauthWeb(), 50 '/unauth', 51 app_config) 52 unauthApp.merge(conf_file) 45 app = cherrypy.tree.mount(InvirtWeb(), 46 '/', 47 app_config) 48 app.merge(conf_file) 53 49 cherrypy.config.update(conf_file) 54 50 -
package_branches/invirt-web/cherrypy-rebased/code/unauth.fcgi
r2728 r2729 1 1 #!/usr/bin/python 2 """Main FastCGI entry point for web interface"""2 """Main FastCGI entry point for unauthenticated web interface""" 3 3 4 4 import cherrypy 5 5 import os 6 6 import sys 7 from main import Invirt Web, InvirtUnauthWeb7 from main import InvirtUnauthWeb 8 8 9 9 dev = False … … 43 43 } 44 44 45 authApp = cherrypy.tree.mount(InvirtWeb(), 46 '/auth', 47 app_config) 48 authApp.merge(conf_file) 49 unauthApp = cherrypy.tree.mount(InvirtUnauthWeb(), 50 '/unauth', 51 app_config) 52 unauthApp.merge(conf_file) 45 app = cherrypy.tree.mount(InvirtUnauthWeb(), 46 '/', 47 app_config) 48 app.merge(conf_file) 53 49 cherrypy.config.update(conf_file) 54 50 -
package_branches/invirt-web/cherrypy-rebased/files/etc/apache2/sites-available/default.mako
r2728 r2729 24 24 RewriteRule ^/invirt - [L] 25 25 RewriteRule ^/kill.cgi - [L] 26 RewriteRule ^/(.*) /var/www/invirt-web/ main.fcgi/unauth/$1 [L]26 RewriteRule ^/(.*) /var/www/invirt-web/unauth.fcgi/$1 [L] 27 27 28 28 ErrorLog /var/log/apache2/error.log -
package_branches/invirt-web/cherrypy-rebased/files/etc/apache2/sites-available/ssl.mako
r2728 r2729 27 27 RewriteRule ^/trac(.*) ${tracuri}$1 [R,L] 28 28 RewriteRule ^/kill.cgi - [L] 29 RewriteRule ^/(.*) /var/www/invirt-web/ main.fcgi/auth/$1 [L]29 RewriteRule ^/(.*) /var/www/invirt-web/auth.fcgi/$1 [L] 30 30 31 31 RewriteLog /var/log/apache2/rewrite.log
Note: See TracChangeset
for help on using the changeset viewer.