Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: mod_security 2.9.12 error "JSON support was not enabled |
|
| Author |
|
GldRush98
Joined: 14 Jan 2026 Posts: 3 Location: USA, Springfield
|
Posted: Wed 14 Jan '26 17:48 Post subject: mod_security 2.9.12 error "JSON support was not enabled |
|
|
Hello, long time Apache Lounge user, first time poster. I come to you today with what I believe is an error in the latest mod_security-2.9.12-win64-VS18 release.
It seems that JSON support was not including and thus can not be parsed by mod_security. I discovered this when a file sharing project I use stopped working.
Downgrading to the previous module version, 2.9.11-win64-VS17, fixes the issue and JSON parsing works as expected.
Here is the associated apache error (repeated multiple times):
| Code: | [Wed Jan 14 08:35:21.141767 2026] [security2:error] [pid 5732:tid 2144] [remote **********:49530] ModSecurity: JSON support was not enabled [hostname "pi********om"] [uri "/api/create"] [unique_id "aWepqbq5eGQJ7YZ8xzjHMAAAikY"], referer: ht****************om/
[Wed Jan 14 08:35:21.141767 2026] [security2:error] [pid 5732:tid 2144] [remote **********:49530] ModSecurity: Access denied with code 400 (phase 2). Match of "eq 0" against "REQBODY_ERROR" required. [file "C:/****************/mo************nf"] [line "72"] [id "200002"] [msg "Failed to parse request body."] [data ""] [severity "CRITICAL"] [hostname "pi********om"] [uri "/api/create"] [unique_id "aWepqbq5eGQJ7YZ8xzjHMAAAikY"], referer: ht****************om/
[Wed Jan 14 08:35:22.253781 2026] [security2:error] [pid 5732:tid 2164] [remote **********:49530] ModSecurity: JSON support was not enabled [hostname "pi********om"] [uri "/api/create"] [unique_id "aWepqrq5eGQJ7YZ8xzjHMQAAiks"], referer: ht****************om/
[Wed Jan 14 08:35:22.254282 2026] [security2:error] [pid 5732:tid 2164] [remote **********:49530] ModSecurity: Access denied with code 400 (phase 2). Match of "eq 0" against "REQBODY_ERROR" required. [file "C:/****************/mo************nf"] [line "72"] [id "200002"] [msg "Failed to parse request body."] [data ""] [severity "CRITICAL"] [hostname "pi********om"] [uri "/api/create"] [unique_id "aWepqrq5eGQJ7YZ8xzjHMQAAiks"], referer: ht****************om/
[Wed Jan 14 08:35:24.315493 2026] [security2:error] [pid 5732:tid 2120] [remote **********:49530] ModSecurity: JSON support was not enabled [hostname "pi********om"] [uri "/api/create"] [unique_id "aWeprLq5eGQJ7YZ8xzjHMgAAikA"], referer: ht****************om/
[Wed Jan 14 08:35:24.315493 2026] [security2:error] [pid 5732:tid 2120] [remote **********:49530] ModSecurity: Access denied with code 400 (phase 2). Match of "eq 0" against "REQBODY_ERROR" required. [file "C:/****************/mo************nf"] [line "72"] [id "200002"] [msg "Failed to parse request body."] [data ""] [severity "CRITICAL"] [hostname "pi********om"] [uri "/api/create"] [unique_id "aWeprLq5eGQJ7YZ8xzjHMgAAikA"], referer: ht****************om/
[Wed Jan 14 08:35:28.365757 2026] [security2:error] [pid 5732:tid 2304] [remote **********:49530] ModSecurity: JSON support was not enabled [hostname "pi********om"] [uri "/api/create"] [unique_id "aWepsLq5eGQJ7YZ8xzjHNAAAim4"], referer: ht****************om/
[Wed Jan 14 08:35:28.365757 2026] [security2:error] [pid 5732:tid 2304] [remote **********:49530] ModSecurity: Access denied with code 400 (phase 2). Match of "eq 0" against "REQBODY_ERROR" required. [file "C:/****************/mo************nf"] [line "72"] [id "200002"] [msg "Failed to parse request body."] [data ""] [severity "CRITICAL"] [hostname "pi********om"] [uri "/api/create"] [unique_id "aWepsLq5eGQJ7YZ8xzjHNAAAim4"], referer: ht****************om/
[Wed Jan 14 08:36:10.496472 2026] [security2:error] [pid 5732:tid 2308] [remote **********:51976] ModSecurity: JSON support was not enabled [hostname "pi********om"] [uri "/api/create"] [unique_id "aWep2rq5eGQJ7YZ8xzjHOQAAim8"], referer: ht****************om/
[Wed Jan 14 08:36:10.496472 2026] [security2:error] [pid 5732:tid 2308] [remote **********:51976] ModSecurity: Access denied with code 400 (phase 2). Match of "eq 0" against "REQBODY_ERROR" required. [file "C:/****************/mo************nf"] [line "72"] [id "200002"] [msg "Failed to parse request body."] [data ""] [severity "CRITICAL"] [hostname "pi********om"] [uri "/api/create"] [unique_id "aWep2rq5eGQJ7YZ8xzjHOQAAim8"], referer: ht****************om/
[Wed Jan 14 08:36:11.555772 2026] [security2:error] [pid 5732:tid 2328] [remote **********:51976] ModSecurity: JSON support was not enabled [hostname "pi********om"] [uri "/api/create"] [unique_id "aWep27q5eGQJ7YZ8xzjHOgAAinQ"], referer: ht****************om/
[Wed Jan 14 08:36:11.556795 2026] [security2:error] [pid 5732:tid 2328] [remote **********:51976] ModSecurity: Access denied with code 400 (phase 2). Match of "eq 0" against "REQBODY_ERROR" required. [file "C:/****************/mo************nf"] [line "72"] [id "200002"] [msg "Failed to parse request body."] [data ""] [severity "CRITICAL"] [hostname "pi********om"] [uri "/api/create"] [unique_id "aWep27q5eGQJ7YZ8xzjHOgAAinQ"], referer: ht****************om/
[Wed Jan 14 08:36:13.673275 2026] [security2:error] [pid 5732:tid 2312] [remote **********:51976] ModSecurity: JSON support was not enabled [hostname "pi********om"] [uri "/api/create"] [unique_id "aWep3bq5eGQJ7YZ8xzjHOwAAinA"], referer: ht****************om/
|
If you need any additional info, I'd be glad to provide if I can  |
|
| Back to top |
|
admin Site Admin

Joined: 15 Oct 2005 Posts: 719
|
Posted: Wed 14 Jan '26 18:44 Post subject: |
|
|
| YAJL copied to bin. |
|
| Back to top |
|
GldRush98
Joined: 14 Jan 2026 Posts: 3 Location: USA, Springfield
|
Posted: Wed 14 Jan '26 18:49 Post subject: |
|
|
| admin wrote: | | YAJL copied to bin. |
Yes indeed.
Take a look at the size difference of that dll file between the 2 releases. |
|
| Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3162 Location: Hilversum, NL, EU
|
Posted: Thu 15 Jan '26 11:21 Post subject: |
|
|
| Updated the download, please try again |
|
| Back to top |
|
GldRush98
Joined: 14 Jan 2026 Posts: 3 Location: USA, Springfield
|
Posted: Thu 15 Jan '26 16:21 Post subject: |
|
|
| Steffen wrote: | | Updated the download, please try again |
Just tried it out, confirmed that json filtering is functioning again. Thank you so much for the quick fix!  |
|
| Back to top |
|
|
|
|
|
|