Deploying multiple django apps on Apache with mod_wsgi

前端 未结 3 1356
野趣味
野趣味 2020-12-04 16:47

I want to deploy two different django apps in the same host: The first will correspond to the url /site1 and the second to the url /site2. Here\'s my configuration:

3条回答
  •  半阙折子戏
    2020-12-04 17:37

    Graham Dumpleton's response is the one you probably want to read closest, but I would suggest saving yourself a lot of heartburn by hosting your two Djangos at the root of different subdomains rather than at non-root locations on the same domain. There are lots of gotchas for running non-root Django sites IMHO.

    Good luck!

提交回复
热议问题