You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Yaakov Chaikin <ya...@gmail.com> on 2005/11/16 06:52:59 UTC

HTTP 401 and BASIC authentication

Hi,

I have set up BASIC authentication on Tomcat 5.5.9. I have also set up
a custom error page for HTTP 401 and HTTP 403.

When the username/password box pops up, I purposefully enter wrong
credentials. After 3rd unsuccessful attempt, it forwards me to an HTTP
401 page.

The problem is that the 401 page is Tomcat-generated 401 page. Am I
missing something? I know my error-page is set up correctly. In fact,
if I log in as some registered-user and try to access a resource
that's intended only for administrators, it forwards me to **my**
custom HTTP 403 page.

Does anyone know what the problem could be?

Thanks,
Yaakov.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org