I'm building a website where users can learn to build the django website online. So lets say a user user1 wants to build a django website. For this user I want to create a new django website which would be accessible with URL "http://mywebsite/user1". To modify the code there is a online webinterface where user can edit/create new files for his project.
So for user user1 I have django code at "/home/user1/django". Similarly for user userN I have django code at "home/userN/django". User should be able to access this django instance from url "http://mywebsite/userN". Now lets say a request came at "http://mywebsite/userN". At this point I want to launch a new process with the django code from location "home/userN/django".
How do I setup apache in such a way that whenever a request comes for the website of a user (http://mywebsite/user1 ) a new process serves that request?