The tests all pass
When I have optReturnError not set (EMBPERL_OPTIONS=0) and no ErrorDocument directive I see the 'internal server error' I sent before.
When I have optReturnError (EMBPERL_OPTIONS = 262144) and ErrorDocument set then I see the page for ErrorDocument 500 directive rather than that for the 404, which I thought might be related to seeing internal server error when optReturnError isn't set.
Any suggestions as to where I look to try and resolve this?
Incidentally this page http://perl.apache.org/embperl/pod/doc/Embperl.-page-13-.htm says that optReturnError is set in EMBPERL_DEBUG ... I presume EMBPERL_OPTIONS is correct
Thanks, and Happy New Year!
Michael
On 1/4/06,
Gerald Richter <[EMAIL PROTECTED]> wrote:
>
> In this case I don't have EMBPERL_OPTIONS set, but my
> intention is to set this and see a custom 404 error page.
> However I get my custom 500 error page instead.
>
> Is this a problem with Embperl or a problem with me?
>
You need to set optReturnError, and add an ErrorDocument directive to your
httpd.conf. This should work with Embperl 2.1.0, as you described it. If not
we should take a deeper look at it. Make test has a test for it, so the
first question would be if make test suceeds without problems?
Gerald
** Virus checked by BB-5000 Mailfilter **