title: multiple django sites with apache & mod_wsgi
body: <p>I want to host several sites with under the same server which uses Debian 5, say I have <code>site1</code>, <code>site2</code> and <code>site3</code>, and assume my ip is <code>155.55.55.1</code>:</p>
  
  <pre><code>site1: 155.55.55.1:80  , script at /opt/django/site1/
  site2: 155.55.55.1:8080, script at /opt/django/site2/
  site3: 155.55.55.1:8090, script at /opt/django/site3/
  </code></pre>
  
  <p>Here is my apache default: </p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      ServerName /
      ServerAlias  */
      DocumentRoot /opt/django/site1/
      LogLevel warn
      WSGIScriptAlias / /opt/django/site1/apache/django.wsgi
      Alias /media /opt/django/site1/media/statics
      Alias /admin_media  /home/myuser/Django-1.1/django/contrib/admin/media 
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
      DocumentRoot "/usr/share/phpmyadmin"
      ServerName /phpmyadmin
      Alias /phpmyadmin /usr/share/phpmyadmin
      &lt;Directory /usr/share/phpmyadmin&gt;
          Options Indexes FollowSymLinks
          AllowOverride None
          Order Deny,Allow
          Allow from all
      &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>And here is my wsgi config for <code>site1</code>, at <code>/opt/django/site1/apache/django.wsgi</code>:</p>
  
  <pre><code>import os, sys
  import django.core.handlers.wsgi
  
  sys.path.append('/opt/django')
  sys.path.append('/opt/django/site1')
  
  os.environ['DJANGO_SETTINGS_MODULE'] = 'site1.settings'
  application = django.core.handlers.wsgi.WSGIHandler()
  </code></pre>
  
  <p>How can I add <code>site2</code> and <code>site3</code>, which are Django-based sites and will be served like <code>site1</code>?</p>