Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 88AB47DF5 for ; Tue, 20 Sep 2011 08:44:37 +0000 (UTC) Received: (qmail 7491 invoked by uid 500); 20 Sep 2011 08:44:33 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 7449 invoked by uid 500); 20 Sep 2011 08:44:33 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 7439 invoked by uid 99); 20 Sep 2011 08:44:33 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2011 08:44:33 +0000 Received: from localhost (HELO [192.168.23.9]) (127.0.0.1) (smtp-auth username markt, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Sep 2011 08:44:33 +0000 Message-ID: <4E78526E.6040503@apache.org> Date: Tue, 20 Sep 2011 09:44:30 +0100 From: Mark Thomas User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:6.0.2) Gecko/20110902 Thunderbird/6.0.2 MIME-Version: 1.0 To: Tomcat Users List Subject: Re: manager and host-manager have 401.jsp that is not used References: <255B9BB34FB7D647A506DC292726F6E1128E48BD39@WSMSG3153V.srv.dir.telstra.com> In-Reply-To: <255B9BB34FB7D647A506DC292726F6E1128E48BD39@WSMSG3153V.srv.dir.telstra.com> X-Enigmail-Version: 1.3.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 20/09/2011 08:31, Manger, James H wrote: > The manager and host-manager apps included with Tomcat 7.0.21 are both: > * configured to use BASIC authentication; and > * configured with a custom error page for 401 (unauthenticated) error codes. > However, the customer error page is never used by Tomcat. > > tomcat/webapps/[host-]manager/WEB-INF/web.xml has > ... > > BASIC > Tomcat Manager Application > > ... > > 401 > /WEB-INF/jsp/401.jsp > > > The 401.jsp file has lots of useful information that would be helpful to display to a user if they cancel their browser's BASIC login prompt. > > A custom 401.jsp file worked with BASIC in Tomcat 5.5.23. > > Is 401.jsp supposed to be used in the manager and host-manager apps? > Or is it a relic that should be removed? > Or is it kept for cases where a different style of authentication is configured that might use 401.jsp? http://svn.apache.org/repos/asf/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Currently the 4th entry for 7.0.22 Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org