liunx tomcat多站点配置
<Host name="nav" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Alias>nav.ttsofts.com</Alias>
<Context path="" docBase="/usr/tomcat/webapps/nav" reloadable="true" caseSensitive="false"
debug="0"></Context>
</Host>
<Host name="www" debug="0" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Alias>www.ttsofts.com</Alias>
<Context path="" docBase="/user/tomcat/webapps/ttserver" reloadable="true"
caseSensitive="false" debug="0"></Context>
</Host>
只需要配制host文件就可以了,本人已经尝试成功