On Dec 30, 2007 3:45 PM, Kate Yoak <[EMAIL PROTECTED]> wrote:
> returning 200 as a scalar from a content handler causes Apache to
> spit up "Internal Server Error" html despite a '200 OK'  status.
> There is no error or warning in the log, nor any other indication of
> a problem

This is more of an apache thing than a mod_perl thing.  The return
from a handler is not an HTTP status code but rather a code to tell
apache if the handler succeeded.  The HTTP status is set through the
Apache2::RequestRec object or sent manually as a header.  None of this
is changed by mod_perl, which just passes your return code through to
apache like any handler would.

- Perrin

Reply via email to