From: Quentin Smith Date: Sun, 9 Aug 2009 22:45:27 +0000 (-0400) Subject: Provide basic authentication on the development server X-Git-Tag: 0.1.0^2~64 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/2583876e634ec708d02cfb57e8a8482c68002a77 Provide basic authentication on the development server svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2671 --- diff --git a/code/dev.conf b/code/dev.conf index 76d8c39..e1c9ddb 100644 --- a/code/dev.conf +++ b/code/dev.conf @@ -5,3 +5,7 @@ server.socket_port = 8080 log.access_file = "/tmp/invirt-web-access_log.dev" log.error_file = "/tmp/invirt-web-error_log.dev" tools.mako.module_directory = "/tmp/invirt-web-templatecache.dev" +tools.basic_auth.on = True +tools.basic_auth.realm = 'Invirt Web DEVELOPMENT' +tools.basic_auth.users = {'quentin': 'quentin','broder': 'broder'} +tools.basic_auth.encrypt = __builtin__.str