:Info: Simple FastCGI wrapper for CGI scripts :Homepage: http://nginx.localdomain.pl/wiki/FcgiWrap :Author: Grzegorz Nosek root@localdomain.pl :Contributors: W-Mark Kubacki wmark@hurrikane.de Jordi Mallach jordi@debian.org
This page has been translated into Spanish <http://www.webhostinghub.com/support/es/misc/fcgiwrap>
language by Maria Ramos from Webhostinghub.com/support/edu <http://www.webhostinghub.com/support/edu>
.
This software is released under the MIT license. See COPYING for details.
fcgiwrap
's environment)fcgiwrap
poolfcgiwrap
's stderr or FastCGI stderr streamMakefile
and configure
script is generated by GNU autotools. Therefore you need the latter.
pkg-config
is needed, else you may get AC_DEFINE errors.
fcgiwrap
links to dev-libs/fcgi which can be obtained from http://www.fastcgi.com/ .
fcgiwrap
also uses (but not requires) systemd
for socket activation.
To install::
autoreconf -i
./configure
make
make install
fcgiwrap will be copied to /usr/local/sbin/fcgiwrap
if you did not set
--prefix
for configure or DESTDIR
for the makefile.
Most probably you will want fcgiwrap
be launched by www-servers/spawn-fcgi <http://redmine.lighttpd.net/projects/spawn-fcgi>
_. Or you could use the author's Perl launcher - see the homepage for that.
There are two modes of fcgiwrap
operation:
/www/cgi
and SCRIPT_NAME of /subdir/example.cgi/foobar
, fcgiwrap
will execute /www/cgi/subdir/example.cgi
with PATH_INFO of /foobar
(assuming example.cgi
exists and is executable).