[Web-SIG] serving (potentially large) files through wsgi?

Robert Brewer fumanchu at aminus.org
Mon Dec 17 18:46:16 CET 2007


Chris Withers wrote:
> Robert Brewer wrote:
> > Apache will interfere, and try to re-apply the range to whatever you
> > emit. The only solution we've found so far is to tell the app to
> ignore
> > any 'Range' request header when running behind Apache, and just let
> > Apache have its way. See http://www.cherrypy.org/changeset/1319
> 
> I've never had any problems with Apache proxying to Zope for this
> stuff...
> 
> I wonder why the proxy setup seems to make it safe?

Because proxying bypasses a lot of the Apache internals. The
re-application of Range headers I described was in a mod_python setup. I
would guess mod_wsgi would exhibit the same problem.


Robert Brewer
fumanchu at aminus.org


More information about the Web-SIG mailing list