Apache Reference: mod_cgi
mod_cgi - Common Gateway Interface (CGI) Implementation
Since Apache 1.0, src/modules/standard/mod_cgi.c
Rob McCool, Robert S. Thau (1995)
The Common Gateway Interface (CGI) is the classical interface for generating dynamic content on the web. It is basically a set of environment variables that the server provides to a program while spawning a specific request to create the dynamic content. CGI remains the only truly portable and standardized scripting environment provided by web servers. Unfortunately, this way of creating dynamic content requires many resources (spawning a subprocess costs many extra memory and CPU cycles) and increases the response time. Alternative solutions are possible, for instance, with mod_perl.
ScriptLog ScriptLogBuffer ScriptLogLength