From 0748b1431fe2608564ecfd89dcbb49d341f6d392 Mon Sep 17 00:00:00 2001 From: Marc Slemko Date: Mon, 5 May 1997 01:48:54 +0000 Subject: Clarify that the ScriptLog is opened by the child processes so permissions need to be set appropriately. Perhaps wouldn't hurt to put an error in the error_log if it can't be opened. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@78111 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_cgi.html | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/docs/manual/mod/mod_cgi.html b/docs/manual/mod/mod_cgi.html index 10c4cd57f6..c52c80f2bc 100644 --- a/docs/manual/mod/mod_cgi.html +++ b/docs/manual/mod/mod_cgi.html @@ -114,14 +114,19 @@ anything on standard output or standard error). Status: mod_cgi

-The ScriptLog directive sets the CGI script error logfile. If -no -ScriptLog is given, no error log is created. If given, any CGI errors -are -logged -into the filename given as argument. If this is a relative file or -path it is -taken relative to the server root. +The ScriptLog directive sets the CGI script error logfile. +If no ScriptLog is given, no error log is created. If given, any +CGI errors are logged into the filename given as argument. If this +is a relative file or path it is taken relative to the server root. + +

This log will be opened as the user the child processes run as, +ie. the user specified in the main User +directive. This means that either the directory the script log is +in needs to be writable by that user or the file needs to be manually +created and set to be writable by that user. If you place the +script log in your main logs directory, do NOT +change the directory permissions to make it writable by the user +the child processes run as.

Note that script logging is meant to be a debugging feature when writing CGI scripts, and is not meant to be activated continuously on -- cgit v1.2.1