401.2 instead of 404 ?

401.2 instead of 404 ?

am 20.02.2006 11:04:27 von Patrice

In IIS6 I defined a custom error page. If I ask for a non existing page in
an authenticated folder, it raises a 401.2 error instead of a 404 error. If
I aski for a non xexisting page in an anonymous folder, the error page is
correcly displayed.

What could it be ?

--
Patrice

Re: 401.2 instead of 404 ?

am 20.02.2006 13:43:08 von Patrice

Finally :
- if the error page uses anonymous and authenticated, 404 errors are
reported correctly
- if the error page uses anonymous only, it will ask for login/password when
I try to get a missing page in an authenticated folder (but even entering
the proper credential doesn't work)
- if the error page uses authenticated only, it will raise an access denied
error when I try to get a missing page in a non authenticated folder

So as a result it look like IIS6 uses the same authentication method to get
to the 404 custom page than the one used for the initial request to the
missing page. (unlike IIS5).

--
Patrice

"Patrice" a écrit dans le message de
news:%23lfKKUgNGHA.2012@TK2MSFTNGP14.phx.gbl...
> In IIS6 I defined a custom error page. If I ask for a non existing page in
> an authenticated folder, it raises a 401.2 error instead of a 404 error.
If
> I aski for a non xexisting page in an anonymous folder, the error page is
> correcly displayed.
>
> What could it be ?
>
> --
> Patrice
>
>
>