开发者

How can you setup multiple WSGI apps on one server?

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 a开发者_开发技巧pp 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 ;)


Python Paste URLMap does this via a config file, that might give you a good start.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜