httpd fails to start with long require user string

Solution Unverified - Updated -

Issue

  • The require user directive does not accept more than 8177 characters. If a string longer than that is used, apache fails to start with the following message:
service httpd start
Starting httpd: Syntax error on line 281 of /etc/httpd/conf.d/access-nagios.conf:
Invalid command 'on@ABC.COM', perhaps misspelled or defined by a module not included in the server configuration

  • Is there a limit on the number of characters with require user ?

Environment

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

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.