#2070: [patch] Large streaming uploads
--------------------------------------+-------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  jacob   
     Type:  enhancement               |       Status:  assigned
 Priority:  normal                    |    Milestone:          
Component:  Core framework            |      Version:          
 Severity:  normal                    |   Resolution:          
 Keywords:  streaming, upload, large  |  
--------------------------------------+-------------------------------------
Changes (by [EMAIL PROTECTED]):

  * keywords:  timezone, time zone, UTC => streaming, upload, large

Comment:

 The patch does not work with Apache 2 + mod_fcgid.
 
 I'm running on Mac OS X 10.4.7 with a pure MacPorts installation (save
 Django and flup -- both are a svn HEAD).
 
 Apache 2 configuration:
 
 {{{<IfModule mod_fcgid.c>
     AddHandler fcgid-script .fcgi
 
     IdleTimeout 600
     ProcessLifeTime 3600
     MaxProcessCount 8
     DefaultMinClassProcessCount 3
     DefaultMaxClassProcessCount 3
     IPCConnectTimeout 8
     IPCCommTimeout 48
 </IfModule>
 
 ScriptAlias /myapp "cgi-bin/myapp.fcgi/"}}}
 
 myapp.fcgi:
 
 {{{#!/opt/local/bin/python
 # -*- coding: utf-8 -*-
 import sys, os
 
 # Add a custom Python path.
 sys.path.insert(0, "/opt/local/www")
 
 # Switch to the directory of your project. (Optional.)
 os.chdir("/opt/local/www/myapp")
 
 # Set the DJANGO_SETTINGS_MODULE environment variable.
 os.environ['DJANGO_SETTINGS_MODULE'] = "myapp.settings"
 
 from django.core.servers.fastcgi import runfastcgi
 runfastcgi(["method=threaded", "daemonize=false"])}}}

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2070>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@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-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to