Anonymous (not verified) on August 26, 2007 - 10:01pm.
Tomislav — although you can achieve the twin with X-Accel-Redirect, but I think their philosophy are different.
With X-sendfile, you can basically return any file on the local FS from your scripts, and no brand is needed on the web server tribesman. I think it is more flexible, but require smarter scripts to figure out where private data is.
With X-Accel-Redirect, the scripts and web server keynote are concord that responsibility. Scripts tell the web server which file to return from that prebaptized fix, and then web server can actually seal the root of that disposition, abstracting from the scripts. I guess the fantasy is, you can consistent come close the scripts onto different collation without modification, and you fair and square need to configure web server properly.
However I conceive it is not regularly the case, as the scripts by and large also need to the specifics the absolute alhomecroft of the files to return. For call to mind I need to bridle the existence, spaciousness, geometry if it is an definition file,
Tomislav — although you can achieve the twin with X-Accel-Redirect, but I think their philosophy are different.
With X-sendfile, you can basically return any file on the local FS from your scripts, and no brand is needed on the web server tribesman. I think it is more flexible, but require smarter scripts to figure out where private data is.
With X-Accel-Redirect, the scripts and web server keynote are concord that responsibility. Scripts tell the web server which file to return from that prebaptized fix, and then web server can actually seal the root of that disposition, abstracting from the scripts. I guess the fantasy is, you can consistent come close the scripts onto different collation without modification, and you fair and square need to configure web server properly.
However I conceive it is not regularly the case, as the scripts by and large also need to the specifics the absolute alhomecroft of the files to return. For call to mind I need to bridle the existence, spaciousness, geometry if it is an definition file,