码迷,mamicode.com
首页 > 系统相关 > 详细

linux tomcat server.xml去除上下文

时间:2017-03-27 21:24:25      阅读:505      评论:0      收藏:0      [点我收藏+]

标签:classname   html   process   example   ase   efi   auto   class   host name   

<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 &quot;%r&quot; %s %b" />

</Host>

linux tomcat server.xml去除上下文

标签:classname   html   process   example   ase   efi   auto   class   host name   

原文地址:http://www.cnblogs.com/lovlos/p/6628655.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!