How does one deploy a django application on OS X Server?

后端 未结 3 2014
北海茫月
北海茫月 2021-02-06 11:49

How would one deploy a Django application on OS X Server 2.0 without using homebrew or a different flavor of python than the one shipped with OS X 10.8.1? I\'m using the cocoa b

3条回答
  •  南方客
    南方客 (楼主)
    2021-02-06 12:13

    Some Apache configurations with distros map .py to either CGI or FASTCGI and this will conflict with mod_wsgi. This is why mod_wsgi recommends using a .wsgi extension. So, rename 'wsgi.py' to 'site.wsgi' and then use 'site.wsgi' in the WSGIScriptAlias.

    BTW, can you confirm that there is a precompiled mod_wsgi.so shipped with Mountain Lion server.

提交回复
热议问题