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发布项目

      

  • 相关阅读:
    Win32C++调用C#(一):开篇
    C#+ICE+TCP通信=数据传输
    第一章 程序设计和C语言
    第一章 HTML5,CSS3及响应式设计入门恢复
    第一章 程序设计和C语言
    HTTP状态码
    HTML 实践
    HTML基础
    创建HTML文件与建立HTML格式
    HTML标签
  • 原文地址:https://www.cnblogs.com/liyafei/p/8317490.html
Copyright © 2011-2022 走看看