Project

General

Profile

Actions

fcgi-cgi

Description

fcgi-cgi is a FastCGI application to run normal cgi applications. It doesn't make CGI applications faster, but it allows you to run them on a different host and with different user permissions (without the need for suexec).
lighttpd2 won't have a mod_cgi, so you need this FastCGI wrapper to be able to execute standard cgi applications like mailman and cgit.

nginx has similar solutions, see fcgiwrap (also available as debian package) and simplecgi (a Perl wrapper).

Usage

Examples for spawning a fcg-cgi instance with daemontools or runit:

#!/bin/sh
# run script

exec spawn-fcgi -n -s /var/run/fastcgi-cgi.sock -u www-default -U www-data -- /usr/bin/fcgi-cgi

License

Updated by stbuehler over 8 years ago ยท 8 revisions