]> granicus.if.org Git - apache/commit
mod_cgi, mod_cgid, mod_ext_filter: Log errors when scripts cannot
authorJeff Trawick <trawick@apache.org>
Wed, 12 Feb 2003 18:27:37 +0000 (18:27 +0000)
committerJeff Trawick <trawick@apache.org>
Wed, 12 Feb 2003 18:27:37 +0000 (18:27 +0000)
commite68aeade1c08bb388eab16d4fa8e77c28d229c30
tree5aeab87316c25b48178f27e3b6266d916af4c5d1
parentd3343a2178dd35d92a8fc2d6e4c61ad1015a3ccc
mod_cgi, mod_cgid, mod_ext_filter: Log errors when scripts cannot
be started on Unix because of such problems as bad permissions,
bad shebang line, etc.

Some minor points:

If mod_ext_filter debug is enabled, we go ahead and burn cycles
in the parent to try to discover when we won't be able to exec
the script.

The mod_cgid handler wasn't communicating the right log level to the
daemon; that was required to get the child errfn to spit out the
right message, and it may fix an existing problem.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98630 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/filters/mod_ext_filter.c
modules/generators/mod_cgi.c
modules/generators/mod_cgid.c