Lighttpd

Lighttpd Web Server support natively FastCGI protocol.

Note: Assume the Genero Application Server is installed in the following directory (FGLASDIR): /opt/gas. Make the appropriate substitution for the FGLASDIR when applying these examples to your own configuration.

For more information, see the ModFastCGI documentation provided by Apache.

ModFastCGI manage Gas

Add these lines to your Lighttpd configuration file:
server.modules   += ( "mod_fastcgi" )
fastcgi.server = (
    "/gas" =>
    (( 
        "host" => "127.0.0.1",
        "port" => <gas-server-port>,
        "check-local" => "disable",
        "bin-path" => "/opt/gas/bin/wrapper.fcgi",
        "bin-environment" => (
            "FGLASDIR" => "/opt/gas"
        ),
        "max-procs" => 1
    ))
)
Note:
  • The "server.max-write-idle" global parameter must be greater than<REQUEST_RESULT> timeouts in the GAS configuration.