resin 3.13 web应用配置片断

来源:互联网 发布:网络交友新时空怎么画 编辑:程序博客网 时间:2024/06/05 17:39

 <!-- configures the default host, matching any host name -->
    <host id="" root-directory=".">
      <!--
         - configures an explicit root web-app matching the
         - webapp's ROOT
        -->
      <web-app id="/" root-directory="webapps/ROOT"/>

      <web-app id="/resin-admin" root-directory="${resin.home}/php/admin">
        <!--
           - Administration application /resin-admin
           -
           - password is the md5 hash of the password.
           - localhost is true to limit access to the localhost
          -->
        <prologue>
          <resin:set var="resin_admin_user" value=""/>
          <resin:set var="resin_admin_password" value=""/>
          <resin:set var="resin_admin_external" value="false"/>
        </prologue>
      </web-app>
    </host>
   <!--
      -下面三个都是
   -->
    <host id="test.sky.net" root-directory=".">
       <web-app id="/" root-directory="D:/web/test2"/>
    </host>
  <!--
     - water web
    -->
  <host id="rz.sky.net" root-directory=".">
     <web-app id="/" root-directory="D:/web/water"/>
  </host>
 
 <host id="wj.sky.com" root-directory=".">
     <web-app id="/" root-directory="D:/web/wj"/>
  </host>

  </cluster>