I have multiple name based virtual host supported by Apache2.2.11.
I have a perl cgi code has to run for 25 minutes.
So I need to enlarge Apache TimeOut directive.
1.Fail, I tried to change httpd-default.conf TimeOut from 300 to 3000
#
# Timeout: The number of seconds before receives and sends time out.
#
Timeout 300I save httpd-default.conf file, restart Apache, and rerun my perl code.
I still got "Internal Server Error".
2.Succeed, this time I add
TimeOut 3000
to my virtual host configuration like
ServerName abc.com
ServerAdmin mike@mikefavor.dyndns.org
Timeout 360000
... ...
I save httpd.conf file, restart Apache, and rerun my perl code.
I make it, my code is successfully finished and I got the response from browser which I expect.
Reference links which help to solve my above problem:
1.
http://support.microsoft.com/kb/8138272.
http://httpd.apache.org/docs/2.2/mod/core.html#timeout3.
http://httpd.apache.org/docs/2.2/4.
a persistent http connection5.
So it must be my httpconfi issue6.
How to test network faq7.
Add timeout in virtual host config