Provide basic authentication on the development server
authorQuentin Smith <quentin@mit.edu>
Sun, 9 Aug 2009 22:45:27 +0000 (18:45 -0400)
committerQuentin Smith <quentin@mit.edu>
Sun, 9 Aug 2009 22:45:27 +0000 (18:45 -0400)
svn path=/package_branches/invirt-web/cherrypy-rebased/; revision=2671

code/dev.conf

index 76d8c39..e1c9ddb 100644 (file)
@@ -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