Unable to Start Apache with reqtimeout_module Enabled

Solution Unverified - Updated -

Issue

  • When trying to start Apache with reqtimeout_module enabled and with the below configuration, Apache fails to start with the following error message:
[abc@xyz ~]$ sudo service httpd start
Starting httpd: httpd: Syntax error on line 378 of /etc/httpd/conf/httpd.conf: <IfModule takes one argument, Container for directives based on existance of specified modules
<IfModule reqtimeout_module>
 RequestReadTimeout header=10-20,minrate=500
 RequestReadTimeout body=10,minrate=500
</IfModule>

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 6.x
    • Apache (httpd)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.