Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 21688 invoked from network); 26 Jan 2011 17:55:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Jan 2011 17:55:59 -0000 Received: (qmail 33135 invoked by uid 500); 26 Jan 2011 17:55:55 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 32897 invoked by uid 500); 26 Jan 2011 17:55:53 -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 32887 invoked by uid 99); 26 Jan 2011 17:55:52 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jan 2011 17:55:52 +0000 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gshpsrule@charter.net designates 216.33.127.83 as permitted sender) Received: from [216.33.127.83] (HELO mta41.charter.net) (216.33.127.83) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 26 Jan 2011 17:55:42 +0000 Received: from imp10 ([10.20.200.15]) by mta41.charter.net (InterMail vM.7.09.02.04 201-2219-117-106-20090629) with ESMTP id <20110126175521.WSGI2629.mta41.charter.net@imp10> for ; Wed, 26 Jan 2011 12:55:21 -0500 Received: from wt01 ([209.225.8.41]) by imp10 with smtp.charter.net id 0HvK1g00N0t7FYZ05HvMDc; Wed, 26 Jan 2011 12:55:21 -0500 X-Authority-Analysis: v=1.0 c=1 a=EpfSuLdV9pcA:10 a=lFec5zFesFhcEEYQxk4A:9 a=iyxfx6A0jkFjY9sFnzcA:7 a=JN7t6PYixWDV8riS8RKpAHFC0uwA:4 a=QEXdDO2ut3YA:10 a=YvZkiAWLFZeyJozxAtwA:9 a=Bi6Bt4hIu1meKN6aihUA:7 a=0THjB4QF2tZ9eYpOdZsrx-yAnZgA:4 Received: from [12.171.92.2] by enhanced.charter.net with HTTP; Wed, 26 Jan 2011 12:55:19 -0500 Date: Wed, 26 Jan 2011 12:55:19 -0500 (EST) From: Dave Carlson To: users@tomcat.apache.org Message-ID: <2132079089.6713829.1296064521140.JavaMail.javamailuser@localhost> Subject: Cannot get manager/html access MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_6713824_1975215611.1296064519948" User-Agent: Laszlo Mail 3 X-SID: 41 X-Originating-IP: [12.171.92.2] X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_6713824_1975215611.1296064519948 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline I am using tomcat 6.0.30 and cannot get the authentication correct using tomcat-users.xml. Here is my tomcat-users: My server.xml has this in it: I have tried not using the manager role also. No matter what I do i get the 401 page like this: You are not authorized to view this page. If you have not changed any configuration files, please examine the file conf/tomcat-users.xml in your installation. That file must contain the credentials to let you use this webapp. For example, to add the manager-gui role to a user named tomcat with a password of s3cret, add the following to the config file listed above. Note that for Tomcat 6.0.30 onwards, the roles required to use the manager application were changed from the single manager role to the following four roles. You will need to assign the role(s) required for the functionality you wish to access. * manager-gui - allows access to the HTML GUI and the status pages * manager-script - allows access to the text interface and the status pages * manager-jmx - allows access to the JMX proxy and the status pages * manager-status - allows access to the status pages only The HTML interface is protected against CSRF but the text and JMX interfaces are not. To maintain the CSRF protection: * The deprecated manager role should not be assigned to any user. * Users with the manager-gui role should not be granted either the manager-script or manager-jmx roles. * If the text or jmx interfaces are accessed through a browser (e.g. for testing since these interfaces are intended for tools not humans) then the browser must be closed afterwards to terminate the session. For more information - please see the Manager App HOW-TO. Any information on how to set this up would be appreciated. Thanks ------=_Part_6713824_1975215611.1296064519948--