Why do you think that would be a 500?Consider this mod_cgi script: # !/usr/bin/perl -w print "Content-type: text/plain\n\n"; print no_such_func(); print "Shouldn't be printed";httpd.conf: ScriptAlias /cgi-bin/ "/home/httpd/2.0/perl/" The error is correctly logged: [Fri Jan 17 16:31:03 2003] [error] [client 127.0.0.1] Undefined subroutine &main::no_such_func called at /home/httpd/2.0/perl/500.pl line 6. Though the client gets the response code 200!
I don't think merely writing stuff out to stderr or returning with an non-zero status code shouldn't be grounds for a 500. -- justin
