X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/208418c2e083ff46b0de2e5db64844db68112cc1..2b4714c704f8ca5567c85a26e9202d5c9b3550e4:/lib/config.original.php?ds=inline diff --git a/lib/config.original.php b/lib/config.original.php index 736790a..1a2c0cc 100644 --- a/lib/config.original.php +++ b/lib/config.original.php @@ -163,6 +163,19 @@ $cfg['proxy_ip'] = array(); */ $cfg['file_hash'] = 'md5'; +/* Work around that LiteSpeed truncates large files when downloading. + * Only for use with the LiteSpeed web server! + * An internal redirect is made using X-LiteSpeed-Location instead + * of streaming the file from PHP. + * Limitations: + * - The Jirafeau files folder has to be placed under the document root and should be + * protected from unauthorized access using rewrite rules. + * See https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:config:internal-redirect#protection_from_direct_access + * - Incompatible with server side encryption. + * - Incompatible with one time download. + */ +$cfg['litespeed_workaround'] = false; + /* Required flag to test if the installation is already installed * or needs to start the installation script */