Project

General

Profile

Server range-requestsDetails » History » Revision 5

Revision 4 (Anonymous, 2007-11-14 06:00) → Revision 5/7 (Bun, 2008-12-28 07:32)

h2. <pre> 

 #!rst  

 server.range-requests option 
 ============================ 

 +server.range-requests+ 

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

 Default: <code>enabled</code> 

 This option server.range-requests 

     defines whether if range requests are allowed or not. 

 Range 

     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*: Internet Explorer   

     Default: enabled 

     IE can crash when it tries to open PDF file if range requests are enabled.  
 To disable range requests for PDF files, add a pdf file.  
     This setting in the following to your configuration file: 

 <pre> 
 config fixes it: :: 

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


 </pre>