我有此代码,并且可以正常工作:
<Host name="www.myCompany.com" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Alias>myCompany.com</Alias>
<Context docBase="company-site" path="" reloadable="true"/>
</Host>
<Host name="www.myCompany2.com" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Alias>myCompany2.com</Alias>
<Context docBase="company-site2" path="" reloadable="true"/>
</Host>
我需要为www.myCompany.com添加另一个上下文,然后添加此代码:
<Host name="www.myCompany.com" appBase="webapps" unpackWARs="true" autoDeploy="true">
<Alias>myCompany.com</Alias>
<Context docBase="company-site" path="" reloadable="true"/>
<Context docBase="ROOT/public" path="/" reloadable="true"/>
www.myCompany.com停止工作后,我该怎么做?