Thanks Malcolm. So just to have it clear, besides the particular files and folders that I have to add to my project (apache, wsgi etc.), in our httpd.conf, I would add another <VirtualHost> entry and end up with something like this:
--------------------------------------- <VirtualHost xxx.xxx.xxx.xxx:80> DocumentRoot /home/blabla/myproj_1 ServerName myproj1.acme.com Alias <Directory ... ... </Directory> ... WSGIScriptAlias / "/home/blabla/myproj_1/myproj_1.wsgi" WSGIDaemonProcess myproj_1 user=blabla group=users processes=1 threads=16 WSGIProcessGroup myproj_1 ... </VirtualHost> <VirtualHost xxx.xxx.xxx.xxx:80> DocumentRoot /home/blabla/myproj_2 ServerName myproj2.acme.com Alias <Directory ... ... </Directory> ... WSGIScriptAlias / "/home/blabla/myproj_2/myproj_2.wsgi" WSGIDaemonProcess myproj_2 user=blabla group=users processes=1 threads=16 WSGIProcessGroup myproj_2 ... </VirtualHost> --------------------------------------- where myproj_1 is already working with wsgi. Is that? Many thanks in advance. Alan On Thu, Jan 8, 2009 at 08:40, Malcolm Tredinnick <malc...@pointy-stick.com>wrote: > > On Thu, 2009-01-08 at 08:33 +0000, Alan wrote: > > Dear List, > > > > > > > > > > So, I developed a project with 2 apps and it's basic ready for > > production test. Since I am quite newbie and don't know much about > > apache I would like to know if it's possible to have 2 (two) different > > django projects (yes, 2, because another collaborator has done another > > django project which is already running in our server). If so, it > > would be just setting up another virtualhost entry in the http.conf > > file pointing to my application? > > Yes, this is quite possible. See > > http://docs.djangoproject.com/en/dev/howto/deployment/modpython/#multiple-django-installations-on-the-same-apachefor > the way to set things up with mod_python. > > Or (probably preferably), use mod_wsgi and use two different copies of > the scripts (and ScriptAlias entries) from [1] to set things up. > > [1] http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango > > Yes, we need to add some mod_wsgi instructions to Django's docs, a la > the mod_python ones. That will happen one day. > > Regards, > Malcolm > > > > > > > > -- Alan Wilter S. da Silva, D.Sc. - CCPN Research Associate Department of Biochemistry, University of Cambridge. 80 Tennis Court Road, Cambridge CB2 1GA, UK. >>http://www.bio.cam.ac.uk/~awd28<< --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---