I'd like to allow 2 of my PHP scripts to run longer than the global connection timeout. I read this article: https://www.litespeedtech.com/suppo...imeouts#litespeed_connection_timeout_override.
Do I need to specify the path of the PHP scripts in either approach, whether I use a rewrite rule or the SetEnv directive? If so, can someone provide an example of doing this for PHP scripts in 2 different subdirectories? For example, if /htdocs/www/ is my webpage folder, the 2 scripts are in:
/htdocs/www/library/add-on
/htdocs/www/library/add-on/subfolder
Would these work or do I need to add the path?
RewriteRule (script1|script2)\.php - [E=noconntimeout:1]
SetEnvIf Request_URI "(script1|script2)\.php" noconntimeout
Thanks in advance.
Do I need to specify the path of the PHP scripts in either approach, whether I use a rewrite rule or the SetEnv directive? If so, can someone provide an example of doing this for PHP scripts in 2 different subdirectories? For example, if /htdocs/www/ is my webpage folder, the 2 scripts are in:
/htdocs/www/library/add-on
/htdocs/www/library/add-on/subfolder
Would these work or do I need to add the path?
RewriteRule (script1|script2)\.php - [E=noconntimeout:1]
SetEnvIf Request_URI "(script1|script2)\.php" noconntimeout
Thanks in advance.