apache2 mod_proxy_uwsgi 内部服务器错误

我推出了服务 uwsgi. uwsgi 效劳于 localhost: 3031 它可以很好 (核实 http).

# apache2 -v  
Server version: Apache/2.2.22 (Debian)
# uwsgi --version
2.0.9

我有
http://uwsgi-docs.readthedocs. ... uwsgi
, 汇编求助 apxs2 的
https://github.com/unbit/uwsgi ... sgi.c
和配置网站 apache:

<virtualhost *:80="">
ServerAdmin admin@site.org
ServerName site
ServerAlias www.site.org

ProxyPass / uwsgi://127.0.0.1:3031/

Alias /robots.txt /srv/www/media/static/robots.txt
Alias /media/static/admin /usr/local/lib/python2.7/dist-packages/django/contrib/admin/static/admin.
Alias /media/ /srv/www/media/

</virtualhost>

它不起作用。 我有 "内部服务器错误" 经过 apache, 没有访问日志 uwsgi, 没有错误日志 \ 访问OT。 apache2. 只有错误 http.
已邀请:

郭文康

赞同来自:

谢 "damjan" 的 irc uwsgi!

配置时出错 uwsgi

[uwsgi]

http = 127.0.0.1:3031

必须是

[uwsgi]

socket = 127.0.0.1:3031

要回复问题请先登录注册