Kevin Dangoor wrote: > mount() can take a config: > > mount(self, app_root, baseurl=None, conf=None) method of > cherrypy._cptree.Tree i > nstance > Mount the given app_root at the given baseurl (relative to root). > > I'm sorry, I should have been more clear. I knew that mount takes a config object, my question really relates to where I can get the config object. I suppose I could roll my own but it'd be rather nice if I could some how leverage the [dev|prod].cfg files that are associated with my apps, somehow.
My plan is to unwind what start-myapp.py is actually doing and see if I can reconstruct the appropriate config objects that way (with the holiday this past weekend I didn't get much of chance to look into this). In a *very* shallow look, it appeared that there was a global config object that the app set up which would be awkward but I'm pretty sure I was looking at things incorrectly. One other question: Do you imagine that someone trying this would create some sort of meta-app that mounts both "real" apps or would they just treat one of the apps as the "master"? I know some (all?) of this is much easier in "FirstClass" but if there's a way to pull this off without too much ugly hackery in .9a4 it'd help me with some things I'd like to get done relatively soon... Best regards and thanks, Keith --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears -~----------~----~----~----~------~----~------~--~---

