title: Rewriting URL with Tomcat7
body: <p>I have deployed a single app on tomcat. Now i added a part in the url to identify a "special"version off my app</p>
  
  <pre><code>www.myUrl.com
  www.myUrl.com/app1
  </code></pre>
  
  <p>Now I published 2 domains</p>
  
  <pre><code>www.myExternalUrl.com
  www.myExternalUrl2.com
  </code></pre>
  
  <p>Each of this urls should point to a single app on tomcat but my users should we only myExternalUrl or myExternalUrl2</p>
  
  <pre><code>www.myExternalUrl.com -&gt; www.myUrl.com
  www.myExternalUrl2.com -&gt; www.myUrl.com/app1
  </code></pre>
  
  <p>How can I do this on Tomcat?
  Can I do this on Tomcat or I need another system like Apache to do this things?</p>