How to set up MOD_REQTIMEOUT?
In order to be able to set up MOD_REQTIMEOUT, please make sure you have installed Apache, as well as configured the Firewall. Then, follow these steps:
Check whether you have the latest version of Apache installed:
yum update httpdOpen the the main Apache configuration file htpd.conf:
vim /etc/httpd/conf/httpd.confScroll down to the LoadModule section and add this line:
LoadModule reqtimeout_module modules/mod_reqtimeout.soCreate a new configuration file:
/etc/httpd/conf.d/reqtimeout.confOpen the file and enter the following:
RequestReadTimeout header=10-20,minrate=500 RequestReadTimeout body=10,minrate=500To check if the Apache module is loaded, issue the following command:
apachectl -M