求助:tomcat Administration配置登陆问题
想利用tomcat的Administration工具进行数据库配置工作,打开tomcat/conf/tomcat_users.xml文件,里面提供了角色tomcat,both,role1,利用提供的角色登陆,访问都被拒绝,查资料,发现了一篇文章说这样该就能登陆了:
<?xml version='1.0' encoding='utf-8'?>
<tomcat-users>
<role rolename="tomcat"/>
<role rolename="role1"/>
<font color=="red">
<role rolename="manager"/>
<role rolename="admin"/>
<user username="fogu" password="lixin" roles="admin,manager"/>
</font>
<user username="tomcat" password="tomcat" roles="tomcat"/>
<user username="both" password="tomcat" roles="tomcat,role1"/>
<user username="role1" password="tomcat" roles="role1"/>
</tomcat-users>
可是我这样改了,还是不能登陆,出现了下面这样的错误,请问要怎样修改才能登陆管理。
HTTP Status 403 - Access to the requested resource has been denied
--------------------------------------------------------------------------------
type Status report
message Access to the requested resource has been denied
description Access to the specified resource (Access to the requested resource has been denied) has been forbidden.
--------------------------------------------------------------------------------
Apache Tomcat/5.0