Created by hww3. Last updated by hww3,
12 years ago. Version #4.
Fins includes an http://www.mems-exchange.org/software/scgi
protocol application runner. This allows you to run Fins applications in a high-performance manner with web servers who support SCGI. SCGI is similar to FastCGI, but the protocol is much simpler, and the support in Fins does not require the installation of libfastcgi.
a. enable mod_scgi in your lighttpd configuration by adding mod_scgi
to the list of enabled modules in the server.modules
b. add a configuration section for your Fins runner:
scgi.server = ( "/" =>
(( "host" => "127.0.0.1",
"port" => 10242,
"check-local" => "disable",
"docroot" => "/" # remote server may use
# it's own docroot
c. start your Fins runner
fcgi/FinsRunner.scgi -p portnum -c configname -a appdir
d. start your lighttpd server
lighttpd -f lighttpd.conf
the current mod_scgi for Apache2 has a number of behavioral problems which make it incompatible with applications that will run otherwise under FastCGI or HTTP. Discussions are ongoing with the developer of mod_scgi for Apache to work the issues out. Until then, either use FastCGI or reverse proxy (HTTP) to deploy your application under Apache.