Go to file
Stefan Bühler 58fb5450bf fcgi-cgi 0.2.2
-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.12 (GNU/Linux)
 
 iQIcBAABCAAGBQJR68ZjAAoJEODn0BcelbrXz6oP/3o1/1I5MkzS4UTE236bkEar
 +UPdLMAvzhmlsKePIScpfquV+7FSGiojfMdTNec4iuAuzjSi2fydiegbbNuYkOTj
 Bf9Sw518RUcbnfqF+MCyOYIa95M6CBB7NZ18RZgYPg04hpFUBrroMORvdRh6jLfT
 RfILpfN87QbKmYhQi4XY6IK61/8ukAHw/nu0SPULuE19VKLzbKgdibq+fHZpGCwc
 yi3164fT/mOKjYrENZ/dhnVgruQtcVo2RD4Q48ZNXANgR2SNtq7OXstG8dbmjEfO
 4RwwJWAdpbqWmB7Nl0U3Ro4jYfgbN9TjdgZ/WGg9qc6vb8oXQ8dqNkMQYHlClav/
 WryzL2EUEci4r3AKyYytJGJwko3/MWr2PLYjT+YKYPcAcgW3gjKjKDJo3c29+OF9
 Xz/s56KNSULOXP6e0vadLoTA1NA3B494piMLQFaynkKJE/Sc1BlVlLzF/U2bMB2p
 BktbeB+9XKN28PDJV9gA7A0/2XfN1Rd5BWjKDwWla9xGpjdoqWC7LMKvoxkhgUC5
 iOUYnu0jMoLAo8tRddBJOI4U6A6Ox7ym8r7u83Lgm/LTmOwZXd/j7mT0L+LB4+hP
 9hnijVUob+Gu5rwGQ1F907lJCfHDt78L82UwFl8dh/P7+J5mqkyMSye0/cpr+/60
 S6aP7ivKDt8eJhG5gaOH
 =nyMa
 -----END PGP SIGNATURE-----

Merge tag 'fcgi-cgi-0.2.2' into debian

fcgi-cgi 0.2.2
2013-07-21 13:38:27 +02:00
cmake [cmake] fix macros, glib2 including and libev cflags 2013-07-20 10:47:34 +02:00
debian backport to compat 8, hardening flags 2013-05-25 13:41:12 +02:00
autogen.sh Add autoconf/automake build system 2009-03-28 13:35:16 +01:00
CMakeLists.txt Release as 0.2.2 2013-07-21 13:30:26 +02:00
config.h.cmake Initial commit 2009-03-28 13:24:51 +01:00
configure.ac Release as 0.2.2 2013-07-21 13:30:26 +02:00
COPYING Initial commit 2009-03-28 13:24:51 +01:00
fastcgi.c wait for proper connection close 2013-07-20 14:52:57 +02:00
fastcgi.h Replace GString with GByteArray 2009-11-11 21:14:53 +01:00
fcgi-cgi.1 Add option handling, bump version number to 0.1.5, add man-page 2010-05-07 22:50:48 +02:00
fcgi-cgi.c copy PATH environment variable 2013-07-20 15:16:15 +02:00
Makefile.am Add option handling, bump version number to 0.1.5, add man-page 2010-05-07 22:50:48 +02:00
README.rst make README a proper formatted README.rst 2013-05-29 13:46:45 +02:00

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