This is what happens when Debug is set to higher than 1/-1.  You might have 
settings of 2/-2 or 3/-3, which renders errors pretty HTML format like this.

--Josh

Quoting Philip Mak <[EMAIL PROTECTED]>:

> I got this from Apache::ASP:
> 
> HTTP/1.1 200 OK
> Date: Fri, 18 Jul 2003 23:13:35 GMT
> Server: Apache/1.3.27 (Unix) mod_deflate/1.0.19 mod_accel/1.0.30
> Cache-Control: private
> Content-Type: text/html
> Transfer-Encoding: chunked
> 
> 19a5
> <tt>
> <b><u>Errors Output</u></b>
> <ol>
> 
> <li> unknown class 'Files' at
> /usr/lib/perl5/site_perl/5.6.1//Tangram/Schema.pm
> ...
> 
> This was from a script that had an error in it. But why did it return
> HTTP code 200 instead of 500? Is there a way I can make it return 500
> when there is an error? (This is a script that will be called by
> another program, and that program uses the HTTP code to know if
> something is wrong.)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to