• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

19.11. mod_cgi

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.

ScriptLog

ScriptLog filename

[server config]

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.

(All)

ScriptLogLength

ScriptLogLength size

[server config]

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.

(All)

ScriptLogBuffer

ScriptLogBuffer size

[server config]

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.

(All)


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint