LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Disabling connection timeout for an entire domain (http://www.litespeedtech.com/support/forum/showthread.php?t=6718)

optize 02-28-2013 08:32 AM

Disabling connection timeout for an entire domain
 
I came across this post:

http://www.litespeedtech.com/support...1&postcount=14

Hopefully that feature still works, I can't seem to get it to work though.

I'd like to disable connection timeout for an entire domain, is that possible with this?

webizen 02-28-2013 11:01 AM

it should still be working.

turn on rewrite logging (add 'RewriteLogLevel 9' to httpd.conf vhost) and grep REWRITE entries from error_log. should see something like
Quote:

... [REWRITE] turn off connection timeout.

optize 02-28-2013 11:15 AM

Quote:

Originally Posted by webizen (Post 50993)
it should still be working.

turn on rewrite logging (add 'RewriteLogLevel 9' to httpd.conf vhost) and grep REWRITE entries from error_log. should see something like

I think my problem is that it's not calling the correct file that is causing the timeout.

Is it possible to disable it on the entire domain instead of a single file?

webizen 02-28-2013 11:30 AM

yes, you can disable it for the entire domain like below:

Quote:

RewriteRule . - [E=noconntimeout:1]

optize 02-28-2013 03:40 PM

Quote:

Originally Posted by webizen (Post 50997)
yes, you can disable it for the entire domain like below:

Works! My issue was the placement of that line in the .htaccess, I put it on the very top and it started working.

Thanks!

webizen 02-28-2013 03:56 PM

You are welcome. I knew you can figure that out once a right rule is provided :)


All times are GMT -7. The time now is 02:13 PM.