title: Django sites on different ports - showing up at serveraddress:8000 not serveraddress/app1
body: <p>I have a two Django instances with two separate virtualenvs that I am trying to have on two suburls: serveraddress/app1 and serveraddress/app2. I have my Apache virtual hosts setup as below and am using mod_wsgi.</p>
  
  <p>The Django instance I am putting at port 8000 in the Apache settings shows up at this url:
  <code>http://serveraddress:8000/app1</code> rather than <code>http://serveraddress/app1</code>. App2  on port 80 shows up at the right url - <code>http:/serveraddress/app2</code>. </p>
  
  <p>How do I get <code>http:/serveraddress:8000/app1</code> to show up at <code>http://serveraddress/app1</code>?</p>
  
  <pre><code>&lt;VirtualHost serveraddress:8000&gt;
  ServerName serveraddress
  WSGIDaemonProcess app1 python-    path=/var/www/app1:/var/www/app1/files:/usr/local/lib/python2.6/dist-packages
  WSGIProcessGroup app1
  WSGIScriptAlias /app1 /var/www/app1/files/files/wsgi.py
  AliasMatch ^/([^/]*\.css) /var/www/app1/files/app1/static/css/$1
  Alias /media/  /var/www/app1/files/media/
  Alias /static/ /var/www/app1/files/app1/static/
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost serveraddress:80&gt;
  ServerName serveraddress
  WSGIDaemonProcess app2 python-path=/var/www/app2-files:/var/www/app2-files/app2-    files:/var/www/app2-files/env2/lib/python2.6/site-packages
  WSGIProcessGroup app2
  WSGIScriptAlias /app2 /var/www/app2-files/app2-files/wsgi.py
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>And in my ports.conf I have:</p>
  
  <pre><code>NameVirtualHost serveraddress:80
  Listen 80
  NameVirtualHost serveraddress:8000
  Listen 8000
  </code></pre>