tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <>
Subject BASIC atuhentication on TOMCAT 4.0.5
Date Thu, 30 Oct 2003 15:08:45 GMT
Dear friends,
I have a problem that I can't solve.
I'm trying to use BASIC authentication in TOMCAT 4.0.5 for a web application and its web.xml
file is:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
                        <web-resource-name>Area protetta</web-resource-name>
                <realm-name>BASIC AUTHENTICATION AREA</realm-name>

But when I call index.html page no authentication form is displayed! (index.html exists on
both the applications).
I tried it on a server with Tomcat 4.0.6 and everything goes well.

So I tried to use, on TOMCAT 4.0.5, the same web.xml also for the ROOT application (that comes
with TOMCAT) and everything goes well.

On your opinion, why the authentication doesn't run on my application?

Please, help me! 
I thank you in advance!


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message