Re: Custom 500 error pages under MP2?

[prev] [thread] [next] [Date index for 2005/03/18]

From: Stas Bekman
Subject: Re: Custom 500 error pages under MP2?
Date: 22:25 on 18 Mar 2005
Barry Hoggard wrote:
> On Mar 14, 2005, at 7:38 PM, Barry Hoggard wrote:
> 
>> What is the best way to do the MyError example from the Eagle book in 
>> MP2?  If I get an uncaught error, and I have something like this set up:
>>
>>     ErrorDocument 500 /error
>>     <Location /error>
>>         SetHandler perl-script
>>         PerlResponseHandler MyError
>>     </Location>
>>
>>
>> How can I get to the text of the error?  It doesn't seem to be in 
>> notes('error-notes').
> 
> 
> 
> Following up on my own post here.  I'm using
> 
> $r->subprocess_env('REDIRECT_ERROR_NOTES')
> 
> to get the error message.

You mean $ENV{REDIRECT_ERROR_NOTES} is not available even with 
perl-script, which should populate %ENV.


        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Custom 500 error pages under MP2?
Barry Hoggard 00:38 on 15 Mar 2005

Re: Custom 500 error pages under MP2?
Barry Hoggard 20:42 on 18 Mar 2005

Re: Custom 500 error pages under MP2?
Stas Bekman 22:25 on 18 Mar 2005

Re: Custom 500 error pages under MP2? - SOLVED
Barry Hoggard 23:29 on 18 Mar 2005

Re: Custom 500 error pages under MP2? - SOLVED
Stas Bekman 01:07 on 19 Mar 2005

Re: Custom 500 error pages under MP2? - SOLVED
Barry Hoggard 00:21 on 20 Mar 2005

Generated at 11:30 on 21 Mar 2005 by mariachi v0.52