I've been playing with the CGI plugin in uWSGI 1.4.4 and have a few questions:
1) I have both PSGI and CGI plugins compiled into my uswgi binary. When I run CGI scripts, the PLACK_ENV and PLACK_SERVER environment variables are defined. Is that intentional? I expected them to only be set for PSGI apps. 2) The documentation example 9 for the CGI plugin uses 2 cgi-index directives: cgi-index = index.pl cgi-index = index.cgi I assume this is a mistake, and uWSGI will only run one of them (sorry, didn't try it myself). 3) I tried to run a simple git server using the CGI plugin. I wonder if there is a way to use the cgi-index feature to serve repos from the root path: git clone http://myserver/repo.git I only could get it to work with an explicitly named CGI script, like git clone http://myserver/git/repo.git 4) Is there a way to mix PSGI and CGI scripts in the same uWSGI instance without passing in the http modifier from the load balancer? Right now I either user --remap-modifier 9:0 for CGI or --remap-modifier 5:0 for PSGI. Is there a way to use both together? Cheers, -Jan _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
