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个错误。