How to configure Apache2 to host Django and PHP on multiple domains simultaneously?
Posted
by
Bert B.
on Server Fault
See other posts from Server Fault
or by Bert B.
Published on 2012-09-04T03:29:20Z
Indexed on
2012/09/04
3:39 UTC
Read the original article
Hit count: 563
I have a VPS (Ubuntu 10.04) that hosts multiple domains, one of them being a CodeIgniter (PHP) web app. The others are just static websites, no fancy backend languages required.
Well I am starting a new project and want to use Django. I have Django installed, mod_wsgi enabled in Apache2, but when I did the first steps on the documentation (https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/) it seemingly overwrote my existing Apache2 configuration and served up the Django welcome page to all my domains. What should my httpd.conf file should look like so that it doesn't overtake all my domains.
© Server Fault or respective owner