electronic.alchemy :: SCGI
electronic.alchemy
where the past meets the future
pike > Fins > SCGI

SCGI

Created by hww3. Last updated by hww3, 19 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.

Usage:

lighttpd

a. enable mod_scgi in your lighttpd configuration by adding mod_scgi to the list of enabled modules in the server.modules configuration parameter.

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

Apache

Note: 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.

Not categorized | RSS Feed | BackLinks

comments powered by Disqus