httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54221] no ErrorLog prefix on CGI errors
Date Tue, 29 Jan 2013 19:01:26 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54221

Mark Tischler <mark.tischler@alcatel-lucent.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |---

--- Comment #17 from Mark Tischler <mark.tischler@alcatel-lucent.com> ---
OK.  So, I rebuilt the web server, this time with the '--enable-cgi' flag in
the config for both building Apache as well as PHP.  I loaded the mod_cgi
module instead of the mod_cgid module, ran the following script, and still got
the problem:

<?php
print "Content-type: text/html\n\nhi\n";
$STDERR = fopen('php://stderr', 'w+');
fwrite($STDERR, "Error: cannot execute query\n");
?>

Running this as a URL, yields simply:

Error: cannot execute query

instead of something like:

[Tue Jan 29 12:51:44.330891 2013] [:note] [pid 19732:tid 5] [client
135.185.197.151:3798] Error: cannot execute query

You had said that it was because I was now using mod_cgid, instead of mod_cgi. 
Given that I am now using mod_cgi and I still have this problem, what's the
next step?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message