Re: 4 different domains on single apache/mod_wsgi

2011-01-21 Thread Osiaq
Graham, daemonize is a trick a was looking for :) Thank you for the great idea :) Problem solved. On Jan 20, 3:16 am, Graham Dumpleton wrote: > Technically it should be able to made to work. I would recommend though you > use mod_wsgi daemon mode and delegate each

Re: 4 different domains on single apache/mod_wsgi

2011-01-19 Thread Graham Dumpleton
Technically it should be able to made to work. I would recommend though you use mod_wsgi daemon mode and delegate each Django site instance to its own process, rather than each sharing the same process but in different sub interpreters. See:

Re: 4 different domains on single apache/mod_wsgi

2011-01-19 Thread Kenneth Gonsalves
On Wed, 2011-01-19 at 16:56 -0800, Osiaq wrote: > Hi Kenneth! > Distro: Ubuntu Server 10.04 well ubuntu follows the debian mode for setting up virtual hosts - you have virtual hosts files in /etc/apache/sites-available and you symlink them to /etc/apache/sites-enabled/. Here is a typical virtual

Re: 4 different domains on single apache/mod_wsgi

2011-01-19 Thread Osiaq
Hi Kenneth! Distro: Ubuntu Server 10.04 As I said the firs site, ELG is working OK. I just changed second site (cc4h) WSGI and it worked, printing "Hello World!" so domains are redirected OK. (please see code below) But the website itself is not working, still can't find the template Regards!

Re: 4 different domains on single apache/mod_wsgi

2011-01-19 Thread Kenneth Gonsalves
On Wed, 2011-01-19 at 16:20 -0800, Osiaq wrote: > It doesnt seems as easy as I thought it will be. it is as easy as falling of a log! If you can tell us what distro you are using we can point the way. -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ --

4 different domains on single apache/mod_wsgi

2011-01-19 Thread Osiaq
Hi all! I have 2 separate projects, with 2 separate domains The problem: first website, ELG, is working OK. Another, cc4h, cannot find template index.html, but is working perfect on localhost with Django development server. Do you know any good tutorial regarding multiple domains on single