FastCGI application to run cgi applications
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Stefan Bühler 24bc87c7da [build] improve (warning) compile flags 2 年之前
cmake [build] improve (warning) compile flags 2 年之前
.gitignore ignore files created by autotools 6 年之前
CMakeLists.txt [build] improve (warning) compile flags 2 年之前
COPYING Initial commit 13 年之前 add some missing files to EXTRA_DIST 6 年之前
README.rst fix some typos, use /var/run instead of /tmp in examples 6 年之前 Add autoconf/automake build system 13 年之前
config.h.cmake Initial commit 13 年之前 [build] improve (warning) compile flags 2 年之前
fastcgi.c wait for proper connection close 8 年之前
fastcgi.h Replace GString with GByteArray 12 年之前
fcgi-cgi.1 fix some typos, use /var/run instead of /tmp in examples 6 年之前
fcgi-cgi.c copy PATH environment variable 8 年之前




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.

fcgi-cgi is released under the `MIT license <>`_


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

# run script

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

Build dependencies

* glib >= 2.16.0 (
* libev (
* cmake or autotools (for snapshots/releases the autotool generated files are included)


* snapshot/release with autotools::


* build from git: ``git clone git://``

* with autotools::


* with cmake (should work with snapshots/releases too)::

cmake .