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 7 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
tomcat7.0配置管理员界面
最新推荐文章于 2022-12-29 09:59:01 发布
要访问Tomcat7.0的管理员界面,你需要检查conf/tomcat-users.xml文件,确保包含允许访问的凭证。例如,为名为tomcat的用户分配manager-gui角色和s3cret密码。Tomcat 7及以上版本要求使用四个不同角色,包括manager-gui、manager-script、manager-jmx和manager-status。注意,manager-gui角色不应与manager-script或manager-jmx角色一起使用,以防止CSRF攻击。详细信息参见Apache Tomcat User Guide。
摘要由CSDN通过智能技术生成