Django(Apache+python3.6+mod_wsgi)

pip install mod_wsgi 成功后

打开“/usr/local/apache/conf/vhost”新建一个文件“mydjango.conf”配置如下

打开“/usr/local/apache/conf/httpd.conf确保你要监听的端口添加进去

最后不要忘记重启apache

 

qihong lu