perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Gies <>
Subject Re: $r->status no correct
Date Wed, 29 Oct 2008 23:18:19 GMT

On Wed, 29 Oct 2008 15:30:12 -0700
Ryan wrote:

> I tested a PHP script with a syntax error, and I see exactly what
> you're seeing.

No, my test was not valid.  $r->status will be 500 when the PHP script
issues: header('HTTP/1.0 500 Error');

> From Apache2::RequestRec documentation for $r->status:
>   "Usually you will set this value indirectly by returning the status
> code as the handler’s function result."
> But as I stated earlier, this is not enough (in practice)

The documentation and mod_perl is correct, I am very wrong.

PS, to the reader I apologize for both the misinformation and make a
long thread longer...

View raw message