Apache Reference: mod_cgi, ScriptLog
ScriptLog
Error Log File for CGI Scripts
Syntax: ScriptLog A
Example: ScriptLog logs/script_log
Since: Apache 1.2
This directive sets the error log file for CGI scripts. Without this directive, no error logging is done. With it, given, any output to
stderrof the CGI scripts is logged into filename. If this argument is a relative path name, it is taken as being relative to ServerRoot. The log file will be opened as the user run as the CGI child processes - that is, the user specified in the main User directive. Consequently,This means that either the directory containing the filename must be writable by that user or the file must be manually created and set to be writable by that user. Note that script logging is meant to serve as a debugging feature when you are writing CGI scripts; it should not be activated continuously on running servers.