Skip to content

Latest commit

 

History

History
54 lines (34 loc) · 1.24 KB

README.rst

File metadata and controls

54 lines (34 loc) · 1.24 KB

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

Usage

Examples for spawning a fcgi-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

Build dependencies

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