On 5 Nov 2006, at 0:44, Salvatore wrote:
> How can I run it as CGI ?

I’m quoting off this page:

http://code.djangoproject.com/wiki/ServerArrangements

[[[
Running Django as a traditional CGI is possible and would work the  
same as running any other sort of Python CGI script, but is generally  
not recommended.

With traditional CGI, the program which will be run -- in this case,  
Django plus a Django-powered application -- is loaded from disk into  
memory each time a request is served, which results in a significant  
amount of processing overhead and much slower responses. FastCGI and  
SCGI, in contrast, load the code only once -- when the server starts  
up -- and keep it in memory as long as the server is running,  
resulting in much faster responses.

If that hasn't put you off and you still need CGI, take a look at #2407.
]]]

#2407 points to this Trac ticket, where there are a couple of  
attachments to server Django apps as CGI:

http://code.djangoproject.com/ticket/2407

Cheers.
-- 
Antonio



--~--~---------~--~----~------------~-------~--~----~
 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