Top "X-sendfile" questions

non-standard HTTP header supported by Apache to offload the process of serving large static files from dynamic scripts (eg: PHP, Python, Perl) after they have performed the necessary authorization or restriction logic.

Fastest Way to Serve a File Using PHP

I'm trying to put together a function that receives a file path, identifies what it is, sets the appropriate headers, …

php performance file-io x-sendfile
In Ruby on Rails, After send_file method delete the file from server

I am using following code for sending the file in Rails. if File.exist?(file_path) send_file(file_path, …

ruby-on-rails ruby file x-sendfile
Django - Understanding X-Sendfile

I've been doing some research regarding file downloads with access control, using Django. My goal is to completely block access …

python django download x-sendfile protected-resource
Message "X-Accel-Mapping header missing" in Nginx error log

I am running a Rails 3 site on Ubuntu 8.04 with Nginx 1.0.0 and Passenger 3.0.7. In my Nginx error.log I started seeing …

nginx rack sendfile x-sendfile
PHP - How to find out if X-Sendfile is available and installed?

Basically, I would like to send a header X-Sendfile to the browser to send a file, but I don't want …

php header x-sendfile
rails media file stream accept byte range request through send_data or send_file method

I have the following problem. Sounds are hidden from the public folder, cause there are only certain Users who should …

ruby-on-rails http-headers sendfile x-sendfile
X-SendFile on Apache2 (PHP) serving 0B file, no errors though

I installed mod_xsendfile and it seems to have been successful; xsendfile.load appears in /etc/apache2/mods-enabled, and I've …

php apache2 download x-sendfile