Project

General

Profile

Wiki » History » Revision 4

Revision 3 (stbuehler, 2010-03-27 16:29) → Revision 4/8 (susanbell84, 2011-12-24 10:09)

h1. fcgi-cgi 

 h2. 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). 
 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. 

 nginx recommends something similar, they implemented the wrapper in Perl: http://wiki.nginx.org/NginxSimpleCGI 

 h2. Building 
 "term paper writing service":http://www.termpapers-guide.com/ | "term paper guide":http://www.termpapers-guide.com/ 



 *"Dissertation writing":http://www.dissertation-help.co.uk/dissertation_writing.htm 
 *"Literature Review":http://www.dissertation-help.co.uk/literature_review.htm 
 *"Dissertations":http://www.dissertation-help.co.uk/ 

 *"Business Logo Design":http://www.logodesignconsultant.com/ 
 *"Logo Design":http://www.logodesignconsultant.com/ 
 *"Logo":http://www.logodesignconsultant.com/ 
 * [[BuildFromGit|Build from git]] 

 h2. Usage 

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

 <pre> 
 #!/bin/sh 
 # run script 

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

 h2. License 

 * MIT: source:COPYING