linux tomcat server.xml去除上下文
Posted lovlos
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux tomcat server.xml去除上下文相关的知识,希望对你有一定的参考价值。
<Host name="localhost" appBase="webapps"
unpackWARs="true" autoDeploy="true">
<!-- SingleSignOn valve, share authentication between web applications
Documentation at: /docs/config/valve.html -->
<!--
<Valve className="org.apache.catalina.authenticator.SingleSignOn" />
-->
<Context path="/" docBase="/lovlos/server/web/apache-tomcat-8.0.30/webapps/zzw" />
<!-- Access log processes all example.
Documentation at: /docs/config/valve.html
Note: The pattern used is equivalent to using pattern="common" -->
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="localhost_access_log" suffix=".txt"
pattern="%h %l %u %t "%r" %s %b" />
</Host>
以上是关于linux tomcat server.xml去除上下文的主要内容,如果未能解决你的问题,请参考以下文章