Please enable JavaScript to view this site.

A-Shell Reference

Rewritten November 2025

Although virtually all modern web servers support CGI, and most support FastCGI as well, the most popular servers are probably Apache, IIS (Windows only) and NginX.  In all cases, it will probably be necessary to adjust the web server configuration options to deal with CGI and or FastCGI as required for your environment.  You'll probably have to consult the web server documentation and/or the Internet for help on that, but for what it's worth, here is an example of changes that might be made to the Apache configuration under Windows (in http.conf) :

For CGI:

LoadModule cgi_module modules/mod_cgi.so

...

<IfModule alias_module>

    ScriptAlias /cgi-bin/ "c:/Apache24/cgi-bin/"

</IfModule>

...

<Directory "c:/Apache24/cgi-bin">

    SetHandler cgi-script 

    AllowOverride None

    Options +ExecCGI

    Require all granted

</Directory>

 

For FastCGI:

LoadModule fcgid_module modules/mod_fcgid.so

...

<IfModule alias_module>

    ScriptAlias /fcgi-bin/ "c:/Apache24/fcgi-bin/"

</IfModule>

...

<IfModule fcgid_module>

    FcgidMaxRequestsPerProcess 50000

    FcgidMinProcessesPerClass 1

    FcgidMaxProcesses 2

    FcgidBusyTimeout 60

    FcgidBusyScanInterval 5

    FcgidIOTimeout 60

    FcgidIdleTimeout 0

    FcgidIdleScanInterval 100

    FcgidProcessLifeTime 0

<Directory "c:/Apache24/fcgi-bin">

    SetHandler fcgid-script 

    AllowOverride None

    Options +ExecCGI

    Require all granted

</Directory>

</IfModule>