Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 90293 invoked from network); 29 Oct 2001 18:13:19 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 29 Oct 2001 18:13:19 -0000 Received: (qmail 5851 invoked by uid 97); 29 Oct 2001 18:12:09 -0000 Delivered-To: qmlist-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 5777 invoked by uid 97); 29 Oct 2001 18:12:07 -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 17094 invoked from network); 29 Oct 2001 09:11:53 -0000 Message-ID: <001b01c16059$96cc1ec0$5f2da8c0@fihoca.int> From: "Pere Torrodellas" To: Subject: Page access blocking Date: Mon, 29 Oct 2001 10:10:43 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2314.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello, I need to block direct (i.e. with a URL) access from browsers to pages in a directory that is directly under a Tomcat webapp directory. Searching this mail list and the Servlet API document lead me to try to define a in the webapp web.xml file for these pages directory, but what I get is the browser displaying the user authentication dialog. This prevents access indeed, but an "access error" or "page not found" kind of response from Tomcat would be much better. This is probably a quite common need, so can someone please tell me how to do it? Thanks in advance. Pere Torrodellas -- To unsubscribe, e-mail: For additional commands, e-mail: