Project

General

Profile

Server range-requestsDetails » History » Revision 6

Revision 5 (Bun, 2008-12-28 07:32) → Revision 6/7 (svanegmond, 2009-12-18 18:46)

h2. server.range-requests option 

 +server.range-requests+ 

 Allowed values: <code>enabled</code>, <code>disabled</code> 

 Default: <code>enabled</code> 

 This option defines whether range requests are allowed or not. 

 Range request are requests of one or more sub-ranges of a file. Range requests are very helpful for resuming interrupted downloads and fetching small portions of huge files. 


 *Note*: Adobe Acrobat Reader Internet Explorer can crash when it tries to open a PDF file if range requests are enabled.  
 To disable range requests for PDF files, add the following to your configuration file: 

 <pre> 
 $HTTP["url"] =~ "\.pdf$" {  
     server.range-requests = "disable"  
 } 
 </pre>