Use Fast-Cgi i do touch dispatch.fcgi

On Fri, Sep 5, 2008 at 6:12 PM, Graham Dumpleton <[EMAIL PROTECTED]
> wrote:

>
>
>
> On Sep 6, 2:39 am, Ilya Braude <[EMAIL PROTECTED]> wrote:
> > Hernan Olivera wrote:
> > >>> In php when you change the code there is no need to restart the
> > >>> server, but in j2ee its necessary to recompile everything. how does
> > >>> that work in django?
> >
> > > You can also configure apache to reload de code. There is a setting,
> > > in httpd.conf:
> > > MaxRequestsPerChild 1
> >
> > > That do the magic
> >
> > In addition to that, I also set:
> > PythonAutoReload On
>
> Which does absolutely nothing for Django and is the default for
> mod_python anyway.
>
> The reason that it does absolutely nothing is that it only applies to
> Python code files which are directly managed by mod_python module
> importer. Any stuff imported off sys.path isn't managed by mod_python
> so that doesn't apply.
>
> You could actually turn that option Off and you will see no difference
> with a Django application and you may even save a few process cycles
> as means mod_python can skip a few checks.
>
> Graham
>
> > in the <Location ...></Location> section of httpd.conf
> >
> > Also, if you have multiple django projects running at the same time, you
> > cat set
> > PythonInterpreter <value>
> > in your Location section for each project so that django doesn't mix
> > requests between projects.
> > Replace <value> with any unique string.
> >
> > Ilya
> >
> > --
> > Ilya Braude
> > Lead Software Engineer
> > Drakontas LLC
> >
>


-- 
http://www.goldwatches.com/

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to