in debugging scripts, at LogLevel info. Also provide env vars
at LogLevel debug for additional help to admins troubleshooting
the ever mysterious "Premature end of script headers" error.
Since this is the single most common cause of trouble reports on
the newslist, at least this gives us something to point users at.
[Aaron Bannert]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@94073
13f79535-47bb-0310-9956-
ffa450edef68
i++;
}
+ ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_INFO, r->server,
+ "Invoking CGI Command '%s'", pCommand);
+ for (i = 0; env[i]; ++i) {
+ ap_log_error(APLOG_MARK, APLOG_NOERRNO|APLOG_DEBUG, r->server,
+ " CGI env[%d] = '%s'", i, env[i]);
+ }
+
if (CreateProcess(NULL, pCommand, NULL, NULL, TRUE,
0,
pEnvBlock,