httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Brunner <>
Subject [PATCH] mod_cgi and logging
Date Wed, 23 Apr 2003 15:07:22 GMT
We have discovered two minor issues with CGIs sending debugging information

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.

SpaceNet AG                 Web :
Joseph-Dollinger-Bogen 14   Tel : +49-89-32356-0
80807 Muenchen              Fax : +49-89-32356-299

View raw message