Tomcat8配置manager
conf/tomcat-users.xml 添加:
<role rolename="manager-gui"/>
<role rolename="admin-gui"/>
<user username="user" password="password" roles="manager-gui,admin-gui" />
新建文件 conf/Catalina/localhost/manager.xml ,内容如下:
<Context privileged="true" antiResourceLocking="false" docBase="${catalina.home}/webapps/manager">
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$" />
</Context>
共有 0 条评论