If you look at config.xml, that configures what contexts exist, and then if you look at tomcat/webapps/ctxN/WEB-INF/web.xml you’ll find a context-home parameter that specifies where the context lives. It doesn’t need to be under the installation directory.