bottlepy / bottle

bottle.py is a fast and simple micro-framework for python web-applications.
http://bottlepy.org/
MIT License
8.46k stars 1.47k forks source link

Ability to run bottle in mod_wsgi #3

Closed yashh closed 15 years ago

yashh commented 15 years ago

Is there a way to deploy botte with Apache + mod_wsgi? Would be very helpful as apache is very widely spread.

defnull commented 15 years ago

Yes, of course :) Use bottle.default_app() to get a standard conform WSGI app.

application = bottle.default_app()
yashh commented 15 years ago

Wow that sounds easy.. I am going to experiment with that. Seriously having a microframework like this is awesome. Thanks for all your work!!