2 messages in ru.sysoev.nginxHowto block Range request header
FromSent OnAttachments
Phuwadon DanrahanDec 17, 2008 10:53 pm 
mikeDec 17, 2008 11:16 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Howto block Range request headerActions...
From:Phuwadon Danrahan (phuw@sanookonline.co.th)
Date:Dec 17, 2008 10:53:32 pm
List:ru.sysoev.nginx

Hi All,

I'm running NGinx with PHP fastcgi to provide file download by using "X-Accel-Redirect". Almost all of our users use download manager such as Flashget, Download Accelerator Plus (DAP) which try to open the second and later requests with "Range:" header. Previously, we handled the blocking of Range request header at PHP script but the performance was very poor and sometimes we got 500 internal server error because of php fastcgi poor performance.

I wonder, is there any configuration that can block "Range" http header at Nginx? If there is a solution, it would help improve the service performance.

I could do this at Apache & Lighttpd but i prefer to run NGinx instead of those web servers.

Thank you. Phuwadon