gasolin gmail.com wrote:
> conf = {'/static' :
> {'cherrypy.tools.staticdir.on': True,
> 'cherrypy.tools.staticdir.dir': ...
Short answer:
...when declared in config, the keys are just
"tools.staticdir.*", not
"cherrypy.tools.staticdir.*".
Longer answer:
Config keys get split on ".", and the first atom
is used to find a config handler for that namespace. So only
config keys that start with "tools." will get
passed to the "tools" namespace handler.
Plus what Christian said.
Hope that helps!
Robert Brewer
System Architect
Amor Ministries
fumanchu amor.org
--~--~---------~--~----~------------~-------~--~----~
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 http://groups-beta.google.com/group/cherrypy-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|