title: Django virtual host setup. Apache mod_wsgi
body: <p>I am hoping there is a simple answer to my question as I am not the most experienced with python and Apache.</p>
  
  <p>I am trying to hook up Apache with mod_wsgi. I have used a virtual host to do so. see below:</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
  ServerAdmin admin@example.com
  ServerName  testserver.com/django
  #DocumentRoot /
  WSGIScriptAlias / /home/mycode/mysite/scripts/django.wsgi
  Alias /media/ /home/mycode/mysite/mysite/media/
  Alias /adminmedia/  /opt/python2.7/lib/python2.7/site-packages/django/contrib/admin/media/
  &lt;Directory "/home/mycode/mysite/mysite/media"&gt;
       Order deny,allow
       Allow from all
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>This works great for my django project when I go to testserver.com instead of my php index page I get my django project. </p>
  
  <p>What I am looking for is help with allow my php projects in /var/www/html/ and my django projects to coexist. I am trying to make it so to reach my django project I type testserver.com/django</p>
  
  <p>Any help or guidance is greatly appreciated :)</p>
  
  <p>Thanks!</p>