server.range-requests option


Allowed values: enabled, disabled

Default: enabled

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 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:

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

Updated by svanegmond about 7 years ago · 7 revisions