500 Error Request Timeout

#1
Hi there,

I have a site on the server that has large packages of files (~1-2gb) that get zipped and downloaded.

Users are reporting timeouts when trying to download these with the following error:

Request Timeout

This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase 'Connection Timeout'.


How can I increase the connection timeout on LiteSpeed Server (where is the setting?), and can it be done for this account only?

Thanks!
Luther
 
#6
At the moment I have this:

<IfModule Litespeed>
RewriteEngine On
RewriteRule .* - [E=noconntimeout:1]
</IfModule>

For certain URLs it would be like this?

<IfModule Litespeed>
RewriteEngine On
RewriteRule ( url | url | url )\.php - [E=noconntimeout:1]
</IfModule>

?
 

serpent_driver

Well-Known Member
#7
Apache config:
<IfModule Litespeed>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^\/file_1\.php [OR]
RewriteCond %{REQUEST_URI} ^\/file_2\.php
RewriteRule .* - [E=noconntimeout:1]
</IfModule>

should work, but not tested.
 
Top