Hi all,
I'm looking for some help on using cherrypy: how can I set
the
configuration in some other way than using a file ?
I know how to do this:
cherrypy.quickstart(Root(), '/', config='./config.conf'))
But that way, all configuration parameters are frozen in
the
config.conf file. For instance, look at what happens to
authentication
passwords. Here is a snippet of my config.conf file:
[/secret]
tools.basic_auth.on = True
tools.basic_auth.realm = 'localhost'
tools.basic_auth.users = { 'test' :
'098f6bcd4621d373cade4e832627b4f6' }
I want to be able to add more users to the keyword
'tools.basic_auth.users'. How can I do that without using
the
config.conf file ? Which other ways can I configure the
server so that
I do not need a file ?
Thanks.
Leonel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-users googlegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribe googlegroups.com
For more options, visit this group at h
ttp://groups.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|