for uwsgi it should be one bottle application
On Mon, Jan 27, 2014 at 10:35 AM, Pasithee Jupiter <[email protected]>wrote: > sorry ... no no with mount i mean the bottle mount method > > app.mount(app = other_app, prefix = 'abc', skip=None) > > > > > On Mon, Jan 27, 2014 at 10:27 AM, Roberto De Ioris <[email protected]>wrote: > >> >> > 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 >> > >
_______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
