aboutsummaryrefslogtreecommitdiff
path: root/fcgi-cgi.1
blob: 09bded219b19c7e2cb4a554a3f38d725e8a261ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.TH fcgi-cgi 1 "May  7, 2010"
.
.SH NAME
.
fcgi-cgi \- a FastCGI application to run cgi applications
.
.SH OPTIONS
.
.TP 8
.B \-c <number>
Maximum number of connections (default 16)
.TP 8
.B \-v
Shows version information and exits
.
.SH DESCRIPTION
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).
.P
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.
.P
nginx recommends something similar, they implemented the wrapper in Perl:
http://wiki.nginx.org/NginxSimpleCGI
.P
For running you probably want spawn-fcgi (http://redmine.lighttpd.net/projects/spawn-fcgi)
.SH EXAMPLE
Example usage:

spawn-fcgi -n -s /var/run/fastcgi-cgi.sock -u www-default -U www-data -- /usr/bin/fcgi-cgi
.SH AUTHOR
fcgi-cgi was written by Stefan B├╝hler.