resin 3.13 web应用配置片断

 <!-- 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>
 

你可能感兴趣的:(resin 3.13 web应用配置片断)