IIS Server Security - 401.2 instead of 404 ?

This is Interesting: Free IT Magazines  
Home > Archive > IIS Server Security > February 2006 > 401.2 instead of 404 ?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author 401.2 instead of 404 ?
Patrice

2006-02-20, 7:48 am

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



Patrice

2006-02-20, 7:48 am

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@bc.c> 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
>
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com