title: Virtual host 2 domains one mapped to /shorten only?
body: <p>Below is my current virtual host. I have two domains pointed the server, lets say... </p>
  
  <pre><code>domain1.com and domain2.com
  </code></pre>
  
  <p>Both domain currently to seem to work with the virtual host below (even tho I don't have domain2.com in the virtual host).</p>
  
  <p>My problem is that I only want domain2.com to work when the url has forward slash /shorten/ i.e. domain2.com/pages/</p>
  
  <p>How can this be done with the current host file below?</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  ServerName domain1.com
  ServerAlias domain1.com *.domain1.com
  DocumentRoot /srv/project/foo
  
  
  
   Alias /static "/srv/project/foo/public/common"
      &lt;Location "/static/"&gt;
          SetHandler None
      &lt;/Location&gt;
  
  &lt;Directory /srv/project/foo/apache&gt;
  Order deny,allow
  Allow from all
  &lt;/Directory&gt;
  
  WSGIDaemonProcess domain1.com processes=2 threads=15 display-name=%{GROUP}
  WSGIProcessGroup domain1.com
  
  WSGIScriptAlias / /srv/project/foo/apache/django.wsgi
  ErrorLog /srv/project/logs/error.log
  &lt;/VirtualHost&gt;
  </code></pre>