mod_cgi.c
file, and
is compiled in by default. It provides for execution of CGI scripts.
Any file with mime type application/x-httpd-cgi
will be
processed by this module.
application/x-httpd-cgi
will be treated as a CGI script, and run by the server, with its output
being returned to the client. Files acquire this type either by
having a name ending in an extension defined by the
AddType directive, or by being in
a ScriptAlias directory.
When the server invokes a CGI script, it will add a variable called
DOCUMENT_ROOT
to the environment. This variable will contain the
value of the DocumentRoot
configuration variable.
MINIMAL_DNS
.
on
.
ScriptLogLength
Syntax: ScriptLogLength size-bytes
Context: server config, virtualhost
Status: Base
Module: mod_cgi
Default: ScriptLogLength 10385760
Compatibility: ScriptLogLength is only available in 1.2 and
later.
ScriptLogBuffer
Syntax: ScriptLogBuffer size-bytes
Context: server config, virtualhost
Status: Base
Module: mod_cgi
Default: ScriptLogBuffer 1024
Compatibility: ScriptLogBuffer is only available in 1.2 and
later.