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 4a9104f602 backport to debhelper/compat 7 6 years ago
cmake [cmake] fix macros, glib2 including and libev cflags 6 years ago
debian backport to debhelper/compat 7 6 years ago
CMakeLists.txt Release as 0.2.2 6 years ago
COPYING Initial commit 10 years ago
Makefile.am Add option handling, bump version number to 0.1.5, add man-page 9 years ago
README.rst make README a proper formatted README.rst 6 years ago
autogen.sh Add autoconf/automake build system 10 years ago
config.h.cmake Initial commit 10 years ago
configure.ac Release as 0.2.2 6 years ago
fastcgi.c wait for proper connection close 6 years ago
fastcgi.h Replace GString with GByteArray 10 years ago
fcgi-cgi.1 Add option handling, bump version number to 0.1.5, add man-page 9 years ago
fcgi-cgi.c copy PATH environment variable 6 years ago

README.rst

Description
-----------

:Homepage:
http://redmine.lighttpd.net/projects/fcgi-cgi/wiki

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 <http://git.lighttpd.net/fcgi-cgi.cgi/tree/COPYING>`_

Usage
-----

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

#!/bin/sh
# run script

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


Build dependencies
------------------

* glib >= 2.16.0 (http://www.gtk.org/)
* libev (http://software.schmorp.de/pkg/libev.html)
* cmake or autotools (for snapshots/releases the autotool generated files are included)


Build
-----

* snapshot/release with autotools::

./configure
make

* build from git: ``git clone git://git.lighttpd.net/fcgi-cgi.git``

* with autotools::

./autogen.sh
./configure
make

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

cmake .
make