mod_security "JSON support was not enabled" message

Solution Verified - Updated -

Issue

  • When I make a request I see this error being reported in error_log:
[:error] [pid 2796] [client ::1] ModSecurity: JSON support was not enabled [hostname "localhost"] [uri "/testing/"] [unique_id "VvPoZ-jS0eYMPsmDC@LUiAAAAAA"]
  • Does mod_security support libyajl?

Environment

  • Red Hat JBoss Web Server (JWS) 3.x
  • Red Hat JBoss Core Services (JBCS) 2.4.29
    • Mod_Security 2.9.1
  • Red Hat Software Collections (RHSCL) 3.3
    • Mod_Security 2.9.3
  • Red Hat Enterprise Linux (RHEL) 7.x
    • Mod_Security 2.4.6
  • Red Hat Enterprise Linux (RHEL) 8.x
    • Mod_Security 2.9.2

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