title: Tomcat: two context paths for one webapp
body: <p>The problem is:
  I have a web app and this web app is deployed to the <code>$TOMCAT_HOME/webapps/XXX</code> directory.
  I can reach that on the <code>http://localhost:8080/XXX</code> address
  BUT, I would like to reach the web app on the <code>http://localhost:8080/YYY</code> address too.
  I added the following to the server.xml:</p>
  
  <pre><code>&lt;Server&gt;
      &lt;Service&gt;
          &lt;Engine&gt;
              &lt;Host&gt;
                  .......
                  &lt;Context path="/YYY" docBase="XXX"&gt;&lt;/Context&gt;
              &lt;/Host&gt;
          &lt;/Engine&gt;
      &lt;/Service&gt;
  &lt;/Server&gt;
  </code></pre>
  
  <p>It helped but the Tomcat started two web contexts and it caused some other problem.
  Is it possible to create a "multiple" address for one web app?</p>