>
> I need a custom error screen under embperl. I read in the docs that
> you can set an option that will enable you to use mod_perl's custom
> error screen features but I'm rather clueless about mod_perl and
> doing all this.
>
> Does anyone have an example of this?
>
<Location /embperl/errdoc>
SetHandler perl-script
PerlHandler HTML::Embperl
Options ExecCGI
PerlSetEnv EMBPERL_OPTIONS 262144
ErrorDocument 500 /html/errmsg.htm
</Location>
When an error occurs the document /html/errmsg.htm will be shown, which
could of course (unless you run on WinNT) again an Embperl page (or another
script). In 1.3b5 (which I will soon release, or fetch it from the CVS) you
can retrieve any any errors that Embperl would normaly display with
$errors = $req_rec -> pnotes('EMBPERL_ERRORS') ;
where $errors is a array ref containing all the error message.
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]