标签:localhost webapps name 绝对路径 director logs lin context read
1、配置多个项目
<Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true"> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="%h %l %u %t "%r" %s %b" /> <Context docBase="uim" path="" /> </Host> <Host name="www.ycyoes.com" appBase="hcode" unpackWARs="true" autoDeploy="true"> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="localhost_access_log." suffix=".txt" pattern="%h %l %u %t "%r" %s %b" /> <Context docBase="hcode" path="" /> </Host>
标签:localhost webapps name 绝对路径 director logs lin context read
原文地址:https://www.cnblogs.com/zhuyeshen/p/11425571.html