httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: [PATCH] log execve() failures
Date Tue, 11 Jul 2000 14:06:34 GMT

> This patch writes some error info to stderr.  Since mod_cgi (and
> hopefully mod_cgid) soaks up this error output, then uses normal logging
> functions which add a timestamp and client IP, it ends up looking like
> other error reports:

We can't write to stderr inside of APR.  We don't know that stderr
exists, or where it points.  This works for Apache, but not for anything
else.  The best thing I can suggest, is to have ap_create_process wait on
the child process before it returns.  This should get us an exit code
related to the actual problem.


Ryan Bloom               
406 29th St.
San Francisco, CA 94131

View raw message