zoukankan      html  css  js  c++  java
  • 配置tomcat通过客户端访问

    1:在tomcat    conf/tomcat-users.xml 文件里  配置用户名和密码,以及访问方式

        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.   

    <role rolename="manager-gui"/>
    <user username="tomcat" password="s3cret" roles="manager-gui"/>
    

        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   //可以通过网页访问 ,rolename=manager-gui
    • manager-script - allows access to the text interface and the          status pages
    • manager-jmx - allows access to the JMX proxy and the status          pages
    • manager-status - allows access to the status pages only

    2:通过用户名和密码访问,可以通过html发布项目

      

  • 相关阅读:
    第三周作业
    第二周作业
    第一周作业
    第三次作业
    第二次作业
    c语言最后一次作业
    第14、15教学周作业
    第七周作业
    第六周随笔
    第四周作业
  • 原文地址:https://www.cnblogs.com/liyafei/p/8317490.html
Copyright © 2011-2022 走看看