Django项目在生产服务器上提供500内部服务器错误

时间:2016-08-06 10:33:43

标签: python django

我正在研究django项目,我已经在生产服务器上创建了项目,并根据官方文档配置了mod_wsgi,但是当我尝试在url上访问它时,它给我500个内部服务器错误,我没有改变调试模式为false。

enter image description here

我已经像这样配置了httpd.conf文件

WSGIScriptAlias / /home/onpoint/public_html/project-name/project-name/wsgi.py
WSGIPythonPath /home/onpoint/public_html/project-name

<Directory /home/onpoint/public_html/project-name/project-name>
<Files wsgi.py>
Require all granted
</Files>

也安装了mod_wsgi,但它一次又一次地给我这个错误。 感谢

0 个答案:

没有答案