title: Route two specific urls to a different application apache
body: <p>I have two applications:</p>
  
  <ul>
  <li>WordPress multisite application serving all domain traffic</li>
  <li>Ember app serving only /example/path/</li>
  </ul>
  
  <p>The following works to a degree in that ember handles traffic to '/example/path/', but it also handles any other routes thereafter like '/example/path/pretty-wp-page':</p>
  
  <pre><code>Alias "/example/path" "/var/www/ember/app/dist"
  </code></pre>
  
  <p>Issue is, I want ember to handle only traffic to '/example/path/' and '/example/path/another-ember-route' and WordPress to handle any other, such as '/example/path/pretty-wp-page'</p>
  
  <p>I tried the following:</p>
  
  <pre><code>AliasMatch "/example/path(/|another\-ember\-route)" "/var/www/ember/app/dist"
  </code></pre>
  
  <p>To no avail. Any ideas or suggestions? I've exhausted the possibilities of my skillset, can't see a solution in the apache documentation and Google isn't offering anything either.</p>
  
  <p>Thanks</p>