On 26/03/11 00:17, Graham Dumpleton wrote: > > Why guess in the first place? Apache and Nginx both support > 'X-Sendfile: > <absolute path>' don't they? (older nginx seemed to only support their > own syntax, though). > > Apache requires a separate module to be installed which isn't part of > the core, so no you can't rely on it being present.
Indeed. Plus, the meaning of the path you give to the server has a totally different meaning in Nginx, compared to that Apache module. In that Apache module and Lighttpd, the path set in the "X-Sendfile" header is a path on the filesystem. In Nginx (header "X-Accel-Redirect") and CGI (heder "Location"), the path is a URL path within the same host. -- Gustavo Narea. Software Developer. 2degrees, Ltd. <http://www.2degreesnetwork.com/>. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.