我安装了uwsgi:
curl http://uwsgi.it/install | bash -s cgi /usr/bin/uwsgi
比未使用的CGI插件:
curl http://uwsgi.it/install | bash -s cgi /tmp/uwsgi
python uwsgiconfig.py --plugin plugins/cgi
当我运行我的uwgi_config.ini
时[uwsgi]
plugins = cgi
socket = 127.0.0.1:9010
cgi = /=/cgi-bin
cgi-allowed-ext = .py
cgi-helper = .py=python
uwsgi --http:9011 --http-modifier1 9 --ini uwsgi_config.ini --master
我有错误:
[uWSGI] getting INI configuration from uwsgi_config.ini
open("./cgi_plugin.so"): No such file or directory [core/utils.c line 3675]