Re: Configure LAMPP with Django

2011-01-13 Thread evstevemd
thanks, let me check On Jan 13, 3:06 pm, Kenneth Gonsalves wrote: > On Thu, 2011-01-13 at 03:43 -0800, evstevemd wrote: > > I love this, > > any tutorial on how to create virtual hosts? > > django documentation, in the deployment section shows how > -- > regards > KGhttp://lawgon.livejournal.com

Re: Configure LAMPP with Django

2011-01-13 Thread Kenneth Gonsalves
On Thu, 2011-01-13 at 03:43 -0800, evstevemd wrote: > I love this, > any tutorial on how to create virtual hosts? django documentation, in the deployment section shows how -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ -- You received this message b

Re: Configure LAMPP with Django

2011-01-13 Thread evstevemd
I love this, any tutorial on how to create virtual hosts? On Jan 12, 5:02 am, Kenneth Gonsalves wrote: > On Tue, 2011-01-11 at 04:51 -0800, evstevemd wrote: > > I have learned alot in these few threads. Now my question was how do I > > deploy different Django apps using same Apache server. > > us

Re: Configure LAMPP with Django

2011-01-12 Thread Javier Guerra Giraldez
On Tue, Jan 11, 2011 at 9:00 PM, Kenneth Gonsalves wrote: > I do not think it does - django is not a webserver or server like zope > for example. So what does 'stays up' mean? it is. depending on how you deploy, it's a FastCGI server, or a WSGI server. in any case, the process is started once,

Re: Configure LAMPP with Django

2011-01-11 Thread Kenneth Gonsalves
On Tue, 2011-01-11 at 04:51 -0800, evstevemd wrote: > I have learned alot in these few threads. Now my question was how do I > deploy different Django apps using same Apache server. use virtual hosts - one virtual host per project - and keep your projects somewhere in the file system, each in it'

Re: Configure LAMPP with Django

2011-01-11 Thread Kenneth Gonsalves
On Tue, 2011-01-11 at 07:39 -0500, Javier Guerra Giraldez wrote: > On Tue, Jan 11, 2011 at 2:37 AM, Kenneth Gonsalves > wrote: > > On Mon, 2011-01-10 at 11:12 -0500, Javier Guerra Giraldez wrote: > >> Django is not a page-based template system like PHP. it's a > >> long-running application that a

Re: Configure LAMPP with Django

2011-01-11 Thread evstevemd
Thanks friends, I have learned alot in these few threads. Now my question was how do I deploy different Django apps using same Apache server. I tried instructions in links given above but I ended screwing my Apache and ended falling back. May be my PHP background keeps me that way. Please help me a

Re: Configure LAMPP with Django

2011-01-11 Thread Javier Guerra Giraldez
On Tue, Jan 11, 2011 at 2:37 AM, Kenneth Gonsalves wrote: > On Mon, 2011-01-10 at 11:12 -0500, Javier Guerra Giraldez wrote: >> Django is not a page-based template system like PHP.  it's a >> long-running application that answers web requests. > > I do not think it is a long running application '

Re: Configure LAMPP with Django

2011-01-10 Thread Kenneth Gonsalves
On Mon, 2011-01-10 at 11:12 -0500, Javier Guerra Giraldez wrote: > Django is not a page-based template system like PHP. it's a > long-running application that answers web requests. I do not think it is a long running application -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox htt

Re: Configure LAMPP with Django

2011-01-10 Thread kRON
I wager that Javier already has the best possible answer, but, nonetheless, I'll try to elaborate it a just a bit more. When a client requests a resource from your Web server that's handled by PHP, what happens is that an instance of PHP is fired that initializes the request data in the globals (l

Re: Configure LAMPP with Django

2011-01-10 Thread Thomas
Am 10.01.2011 um 16:56 schrieb evstevemd: > I have LAMPP on Ubuntu and I use it fine with PHP. Now I have to add > Django so that I can do PHP and Django projects together. I will have > more than one Django project. I have read of mod_wsgi but I cannot > understand. what exactly is the problem?

Re: Configure LAMPP with Django

2011-01-10 Thread Javier Guerra Giraldez
On Mon, Jan 10, 2011 at 10:56 AM, evstevemd wrote: > In PHP I just put my project as subdirectory of /var/www/ > and then access them via http://localhost/ > How do I do with Django? Django is not a page-based template system like PHP. it's a long-running application that answers web requests.