Apache: mod_fastcgi

Module mod_fastcgi is the Apache module for FastCGI support.

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.
Important: Apache 2.4 does not support mod_fastcgi. If you are using Apache 2.4, use mod_proxy_fcgi instead.
Note: For more information on the Apache Module mod_fastcgi, please refer to the Apache documentation.

mod_fastcgi installation

Install software packet for your system or use these instructions.

mod_fastcgi manage GAS process

Add these lines to your Apache configuration file:
LoadModule fastcgi_module /usr/lib/apache2/modules/mod_fastcgi.so

<IfModule mod_fastcgi.c>
  FastCgiServer /opt/gas/bin/wrapper.fcgi -idle-timeout 300
    -initial-env FGLASDIR=/opt/gas
  Alias /gas /opt/gas/bin/wrapper.fcgi
</IfModule>

# set permissions for /gas alias
<Location /gas>
  Order Deny,Allow
  Deny from all
  Allow from mycompany.com
</Location>

Note