Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: mod_perl: how to display the error message within the ErrorDocument

by zigdon (Deacon)
on Sep 30, 2002 at 13:15 UTC ( [id://201708]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://201708]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2024-04-18 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found