multiple django sites with apache & mod_wsgi
问题 I want to host several sites with under the same server which uses Debian 5, say I have site1 , site2 and site3 , and assume my ip is 155.55.55.1 : 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/ Here is my apache default: <VirtualHost *:80> ServerName / ServerAlias */ DocumentRoot /opt/django/site1/ LogLevel warn WSGIScriptAlias / /opt/django/site1/apache/django.wsgi Alias /media