You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by sex <cw...@hotmail.com> on 2008/04/08 01:35:12 UTC

Why doesn't security work for Tomcat 6.0.14

I'm trying to give myself access to the manager web app, but have been =
unsuccessful.  My tomcat-users.xml looks like this:

<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
  <role rolename="manager"/>
  <role rolename="admin"/>
  <user username="chris" password="chris" roles="admin,manager"/>
</tomcat-users>


but I always get a "401 Unauthorized" error.  Any ideas?

Re: Why doesn't security work for Tomcat 6.0.14

Posted by Steve Ochani <oc...@ncc.edu>.
On 7 Apr 2008 at 19:35, sex wrote:

> I'm trying to give myself access to the manager web app, but have
> been =
> unsuccessful.  My tomcat-users.xml looks like this:
> 
> <?xml version='1.0' encoding='utf-8'?>
> <tomcat-users>
>   <role rolename="manager"/>
>   <role rolename="admin"/>
>   <user username="chris" password="chris" roles="admin,manager"/>
> </tomcat-users>
> 
> 
> but I always get a "401 Unauthorized" error.  Any ideas?
> 

Did you even bother to read the reply from a few hours ago by Charles Caldarale?

BTW I would suggest posting with a more professional/appropriate name rather than "sex".





---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org