This still doesn't work for me - my web.xml is

        <error-page>
             <error-code>404</error-code>
             <location>error.html</location>
        </error-page>

I've tried putting error.html in the document directory for this app. and in
the default-site document directory - all with no joy, wit and without the
leading slash,

Kevin

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Karl Avedal
Sent: 03 November 1999 22:35
To: Neal Kaiser
Cc: Kevin Jones; [EMAIL PROTECTED]
Subject: Re: Is this correct <error-page> syntax?


Hello Neal,

This might sound weird, but the correct syntax would be

<error-page>
     <error-code>404</error-code>
     <location>index.html</location>
</error-page>

(the leading / should be removed that is). I know it seems intuitive that
/index.html should work to, so we'll probably make Orion be a little sloppy
in
this case (the spec says no leading slash).

I hope this help, if not, make sure you have the most recent Orion version
installed.

Karl Avedal
The Orion team


Neal Kaiser wrote:

> Not yet. It doesn't work for me, however. So either I'm doing it wrong, or
> it isn't implemented yet.
> Orion guys? Care to comment?
>
> ----- Original Message -----
> From: Kevin Jones <[EMAIL PROTECTED]>
> To: Neal Kaiser <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, November 03, 1999 1:15 PM
> Subject: RE: Is this correct <error-page> syntax?
>
> > Was there an answer to this?
> >
> > Kevin Jones
> >
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Neal Kaiser
> > Sent: 29 October 1999 13:51
> > To: [EMAIL PROTECTED]
> > Subject: Is this correct <error-page> syntax?
> >
> >
> >  <error-page>
> >     <error-code>404</error-code>
> >     <location>/index.html</location>
> >  </error-page>
> >
> > I basically want them to redirect to the home page if they get a 404.
This
> > doesn't
> > seem to be working for me?
> >

Reply via email to