Ugh. I'm glad you noticed that now. I just opened a ticket on this:

http://trac.turbogears.org/turbogears/ticket/12

This is tricky. I think what we basically want is to take the CherryPy
config from the application, get rid of any global config options
(because those should be global to the site) and add an appropriate
application root to the config options that are left.

Paste Deploy does solve these problems, but is not immediately
compatible with CherryPy.

I'd certain welcome other ideas on this!

Kevin

On 10/5/05, xio <[EMAIL PROTECTED]> wrote:
>
> Kevin,
> you are right, static content works fine within a single application
> running just under root. However, it doesn't work with an application
> plugged-in under another application:
>
> class UserController:
>     @turbogears.expose()
>     def index(self)
>         ....
>
> class Root:
>     users = UserController()
>
> cherrypy.root = Root()
> cherrypy.server.start()
>
>
> Any workaround for this?
>
>


--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to