Created
August 23, 2015 17:10
-
-
Save loinguyenduc101/886d6eb5fd6f4ce862b0 to your computer and use it in GitHub Desktop.
$TOMCAT_HOME/conf/server.xml mapping root path (/) to my app context --> overidde default tomcat root root context
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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" /> | |
--> | |
<!-- | |
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"/> | |
<Context path="" docBase="jenkins" debug="0" reloadable="true" override="true"/> | |
</Host> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment