首页 > 代码库 > tomcat

tomcat

<tomcat-users>    <role rolename="admin"/>    <role rolename="admin-gui"/>    <role rolename="manager"/>    <role rolename="manager-gui"/>    <user username="name" password="pwd" roles="admin,admin-gui,manager,manager-gui"/></tomcat-users>

conf/Catalina/localhost/manager.xml
<Context privileged="true" antiResourceLocking="false"
docBase="${catalina.home}/webapps/manager">
<Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$" />
</Context>

tomcat