How can you setup multiple WSGI apps on one server?

Posted by Shakakai on Stack Overflow See other posts from Stack Overflow or by Shakakai
Published on 2011-02-06T11:54:32Z Indexed on 2011/02/06 15:25 UTC
Read the original article Hit count: 171

Filed under:
|
|

I'm working on a python based server product where a user can install WSGI-based python apps on their server. I can enforce any restriction on the application structure or format to make this easy.

The user workflow would be:

  • browse an app market, showing a list of WSGIpython apps
  • select an app and choose "install"
  • the app would be downloaded from a remote server to the user's server
  • the http server would then have to be configured to start serving that application from the app's id, ex. a blog app with an id of "blog" at "/blog/", so all requests below /blog/ would be seen as root by the blog application.

Any suggestions on how to set something like this up?

Holler if my flow of consciousness lost you ;)

© Stack Overflow or respective owner

Related posts about python

Related posts about web-development