William A. Rowe, Jr. wrote:
It seems that the combination of Jeff T's and my inheritence patches collude to crashing the cgid worker.
If we fail to exec(), we end up calling log_error_core, which causes that fork()ed cgid worker to SIGPIPE and die. Apparently we don't have a valid fd to the server's error log at that point.
Weird. Here is what I get with prefork+modcgi on Linux, built a couple of days ago:
[error] (13)Permission denied: exec of 'printenv' failed
(i.e., exec failed, reported to the log with no problem)
Are you using suexec perhaps?
Are you using a vhost-specific error log? That is a long-standing problem with mod_cgid: There isn't logic to reconstruct enough of the right server_rec to log to the right place. (not sure that the symptoms match, but it can't hurt to ask)
Let me try it with your latest tag on Solaris 8 and see if my results are any different.
