打开关闭tomcat的目录浏览功能

目录浏览功能
conf/web.xml中init-param中有对于listing的定义,设置为true即可实现tomcat的目录浏览;
tomcat的管理用户设置
conf/tomcat-users.xml中增加
<user username="admin" password="123456" roles="manager-gui"/>
如此设置即可实现在tomcat欢迎页面中,点击管理链接进入到管理目录

posted on 2017-09-03 21:46  下士闻道  阅读(911)  评论(0编辑  收藏  举报

导航