in reply to mod_perl: how to display the error message within the ErrorDocument

I think you're confusing the apache error and the perl error. While both are written by default to apache's error log, I'm guessing the "error-notes" does not capture STDERR of your perl script.

Not sure how you'd get the error from the script passed to apache though

-- Dan

  • Comment on Re: mod_perl: how to display the error message within the ErrorDocument

Replies are listed 'Best First'.
Re: Re: mod_perl: how to display the error message within the ErrorDocument
by projekt21 (Friar) on Sep 30, 2002 at 13:20 UTC

    Right, when I run the dying CGI under Apache::Registry I get what I want.

    But as the error is logged into my apache error log, I hoped that I could somehow get the message into my module, too. Looks like it won't work, hmmm.

    alex pleiner <alex@zeitform.de>
    zeitform Internet Dienste