Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 66646 invoked from network); 17 Jun 2003 17:49:31 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 17 Jun 2003 17:49:31 -0000 Received: (qmail 18534 invoked by uid 97); 17 Jun 2003 17:51:53 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 18527 invoked from network); 17 Jun 2003 17:51:52 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 17 Jun 2003 17:51:52 -0000 Received: (qmail 14885 invoked by uid 500); 17 Jun 2003 16:51:45 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 99369 invoked from network); 17 Jun 2003 16:46:45 -0000 Received: from smtp6.mindspring.com (207.69.200.110) by daedalus.apache.org with SMTP; 17 Jun 2003 16:46:45 -0000 Received: from h-68-164-77-85.snvacaid.covad.net ([68.164.77.85] helo=SuperTopina) by smtp6.mindspring.com with esmtp (Exim 3.33 #1) id 19SJbc-0006Bm-00 for tomcat-user@jakarta.apache.org; Tue, 17 Jun 2003 12:46:48 -0400 Reply-To: From: "Rosaria Silipo" To: Subject: problems with web.xml and security Date: Tue, 17 Jun 2003 09:46:35 -0700 Message-ID: <001301c334f0$0400c2e0$930017ac@SuperTopina> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi, I am trying to set up Tomcat as a secure web engine. >From the tutorial I understood that you should insert the following lines in web.xml and the password protection should work. This works perfectly for files in the root directory (/*), it does not work for files in subdirectories, like /secure/*. Have you have ever seen this problem before? Thanks for any help -- Rosaria ... Secure Pages Security constraint on all files /* /secure/* POST GET admin can login admin SSL not required NONE 30 FORM default /LoginForm.html /LoginError.html The most secure role admin -- Rosaria --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org