I'm seeing a very strange problem with cgi scripts after migrating to new hardware and from apache 1.3.x to 2.2.2

While 404, 403 etc errors are fine, '500 Internal server error' errors are now sent as text/plain instead of as text/html.

This means that instead of a nicely formatted error saying '500 Internal server error' whenever a cgi script dies or fails to produce a valid http header, the end-user sees all the HTML markup wrapped around that message instead.

It doesn't seem to be perl related, as I can recreate the same thing with the following one line bash script (which clearly fails to send headers)

#!/bin/bash

A packet trace shows that the mime type is being set to text/plain in the document header, followed by the 500/Internal server error message






--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to