Anaconda + Apache + mod_wsgi + Ubuntu

若如初见. 提交于 2019-12-01 12:58:23

You cannot use any system package for mod_wsgi if you are wanting to use Anaconda Python. So first step is to uninstall any system mod_wsgi package.

Then use pip install mod_wsgi to install mod_wsgi-express into your Anaconda Python installation or virtual environment.

Then run:

mod_wsgi-express module-config

Take the output of that and put it into your Apache configuration file to load mod_wsgi.

Then add to Apache the mod_wsgi configuration for your specific WSGI application.

Show the configuration you are using after doing that if have issues.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!