Skip to content

Instantly share code, notes, and snippets.

@jamesnguyen101
Created August 23, 2015 17:10
Show Gist options
  • Save jamesnguyen101/886d6eb5fd6f4ce862b0 to your computer and use it in GitHub Desktop.
Save jamesnguyen101/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
<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