> Could it be how do I create the application?
>
>
> bottle.default_app.push(web.app)
>
> session_opts = {
>
> 'session.cookie_expires': configuration["session"]["expires"],
>
> 'session.encrypt_key': configuration["session"]["encrypt-key"],
>
> 'session.httponly': True,
>
> 'session.timeout': configuration["session"]["timeout"],
>
> 'session.type': 'cookie',
>
> 'session.validate_key': True,
>
> }
>
>
> application = SessionMiddleware(\
>
> I18NMiddleware(\
>
> web.app,\
>
> I18NPlugin(domain='messages',\
>
> default="en",\
>
>
> locale_dir=os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)),
> './locale')))\
>
> ),\
>
> session_opts)
>
>
>
> where the is
>
> web.app = bottle.Bottle()
>
>
> and I mount a lot of other bottle applications.
>
>
for "mount" you mean the uWSGI --mount option so each bottle app is
isolated ? If so, well multiple interpreters and threads are generally a
pain.
--
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi