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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content