tomcat7.0配置管理员界面

要访问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通过智能技术生成

在这里插入图片描述

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值