perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: 404s not being handled correctly
Date Fri, 06 Jan 2006 09:14:24 GMT
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: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message