On Jan 25, 2007, at 4:17 PM, Ivan Sagalaev wrote:

> Mihai Preda wrote:
>> Hi,
>> in the documentation (here:
>> http://www.djangoproject.com/documentation/fastcgi/ ) it is written
>> that the "current preferred setup" for running Django is mod_python
>> (rather than FastCGI).
>>
>> I'd like to know why is that. Does mod_python offer some advantages,
>> and which ones?
>
> It's just way easier to setup and maintain.You don't need to install
> flup, don't need to write a startup script for FCGI server.
>
>  From speed and stability point of views they don't differ much (I
> happen to use both setups on different projects).

One important thing is if you're running multiple things off the same  
server.  For exmaple, if you have a PHP wordpress install at  
blog.domain.com, and you have your main django site running at  
domain.com, using FCGI for both will dramatically reduce memory  
requirements.

You don't really want to be embedding both a PHP and a Python  
interpreter in each non-media Apache call.

---
David Zhou
[EMAIL PROTECTED]




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to