修改tomcat的conf目录下server.xml
多域名配置如下:
<Host name="www.xxx.com" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Context path="" docBase="yiban" />
</Host>
<Host name="ww.yyy.com" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<Context path="" docBase="dist">
</Context>
</Host>
近期评论