The mod_cgi module provides for execution of CGI scripts, including the handling of environment variables and logging. When a CGI script is started, this module creates an environment variable called DOCUMENT_ROOT that mimics the DocumentRoot directive. It also sets the REMOTE_HOST, REMOTE_IDENT, and REMOTE_USER environment variables if appropriate.
Sets the name of the CGI-script error log, either as a fully qualified filename or relative to ServerRoot. All CGI errors are written out to this file. Note that there is no default log file; if this directive is omitted, the log file isn't created, and all errors are discarded.
Specifies the maximum length of the CGI-script error log file. This is essentially a safety precaution. If the error log file exceeds this length, no more data will be written to it. The default is 10385760 bytes.
Specifies how much data at a time can be logged to the CGI-script error log with an HTTP PUT or POST command. The default is 1024 bytes.
Copyright © 2003 O'Reilly & Associates. All rights reserved.