tomcat 配置域名

<Host name="analysisk.cakst.org.cn" 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" />
        -->
        
        <!-- 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>

 

posted @ 2018-11-09 14:11  滴滴滴  阅读(66)  评论(0)    收藏  举报