Hi, > > 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? >
At the moment in Embperl all error are handled the same and gives a 500 error. I have to handle the not found case special to return the 404 error, which of course makese sense. I will take a look at it during the next days. When you use Embperl::Object it's already handled corretcly, that was what the discussion on the maillist you refered was about. > 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 Yes, EMBPERL_OPTIONS is correct > > Thanks, and Happy New Year! > The same to you Gerald ** Virus checked by BB-5000 Mailfilter ** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]