切诺基给出500错误

时间:2014-02-10 13:08:50

标签: django ubuntu cherokee

django_wsgi.py

import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'umka.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()  

uwsgi.xml

<uwsgi>
    <plugins>python</plugins>
    <pythonpath>/var/www/</pythonpath>
    <workers>2</workers>
    <module>umka.django_wsgi</module>
    <app mountpoint="/">
        <script>django_wsgi</script>
    </app>
    <prio>-4</prio>
    <threads>2</threads>
    <harakiri>65</harakiri>
</uwsgi>  

我可以登录cherokee-admin。它说服务器正在运行。但它始终有500个错误。

0 个答案:

没有答案