> I would like to be able to add to or change the way errors are handled. I
> am hoping that is possible to somehow create a routine in perl that I can
> get called before or instead of the standard core routine.
>
> I want to be able to construct a page that contains a more user friendly
> response. The errors I particularly need to intercept are the 500 and 502
> returned by mod_proxy when an upstream site is unavailable.
>
> ErrorDocument simply does help as none of the REDIRECT_* vars are available
> when the redirect is absolute, which it has to be for these errors.
At the PerlAPI/Handlers level read the Eagle book p.166
For runlevel trapping, see:
http://perl.apache.org/guide/porting.html#Redirecting_Errors_to_Client_ins
_______________________________________________________________________
Stas Bekman mailto:[EMAIL PROTECTED] www.singlesheaven.com/stas
Perl,CGI,Apache,Linux,Web,Java,PC at www.singlesheaven.com/stas/TULARC
www.apache.org & www.perl.com == www.modperl.com || perl.apache.org
single o-> + single o-+ = singlesheaven http://www.singlesheaven.com