You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Christian Brunner <ch...@muc.de> on 2003/04/23 14:07:04 UTC
[PATCH] mod_cgi and logging
We have discovered two minor issues with CGIs sending debugging information
to STDERR:
1. When the CGI sends a "Location" header with an absolute URL the output
isn't stored in the ErrorLog logfile. log_script_err() is missing in
this case.
2. If the last line of STDERR output isn't terminated by '\n' the line
isn't stored either. log_script_err() or ap_log_rerror() are not called
when the return code of apr_file_gets() is APR_EOF.
A patch to fix these issues is attached.
Christian
--
SpaceNet AG Web : http://www.space.net/
Joseph-Dollinger-Bogen 14 Tel : +49-89-32356-0
80807 Muenchen Fax : +49-89-32356-299