I am using PHP with apache2 and MySQL on a rackspace server, it is unmanaged cluoud hosting. I am hosting multiple sites using virtual host.
Now i want to use Django on it. A site needs django so I have installed django and
apt-get install . Then I wrote following lines in my httpd.conf
WSGIScriptAlias / /var/www/djangosite/pyproject/mysite/mysite/wsgi.py WSGIPythonPath /var/www/djangosite/pyproject/mysite/ <Directory /var/www/djangosite/pyproject/mysite/mysite/> <Files wsgi.py> Order deny,allow Allow from all </Files> </Directory>
But then only django worked on all sites, and only that specific project appear on all sites. so what I need to if I only want it to work for specific site? so that other sites can work as they work previously working with PHP. Do I need to set server name e.t.c. some where?