关于apache的Django项目给出了错误

时间:2016-01-25 09:41:47

标签: django apache

我正在尝试在apache web服务器上运行django项目。我按照this教程使用我的django项目设置服务器。我使用的是ubuntu 14.04,我的项目位于桌面上的virualenv中。

我的/000-default.conf设置:

Alias /static /home/manish/Desktop/starchi/ekomerz/static
<Directory /home/manish/Desktop/starchi/ekomerz/static>
        Require all granted
</Directory>

<Directory /home/manish/Desktop/starchi/ekomerz/ekomerz>
        <Files wsgi.py>
                Require all granted
        </Files>
</Directory>

WSGIDaemonProcess ekomerz python-path=/home/manish/Desktop/starchi/ekomerz:/home/manish/Desktop/starchi/lib/python2.7/site-packages
WSGIProcessGroup ekomerz
WSGIScriptAlias / /home/manish/Desktop/starchi/ekomerz/ekomerz/wsgi.py

但它给了我一个500 Internal Server Error。 我究竟做错了什么?我可以从我的虚拟环境中运行我的项目。

编辑:

Error-Log

0 个答案:

没有答案