Issue
-
Errors such as the following appear in the web server logs:
2022-09-13 14:51:10 Error 12.34.56.78 [client 12.34.56.78] ModSecurity: JSON support was not enabled [hostname "example.com"] [uri "/api/"] [unique_id "YyCKzaaaaaaDGAzsvjEgJwAAAAk"] Apache error
-
API queries using JSON format are not processed by the web application.
Environment
- Imunify360
- ModSecurity
- Plesk
Solution
Disable ModSecurity rule 77350039 or 77316736 (see in the logs) as per documentation.
This solution does not have an impact on server security since this rule is only used for optimizing data processing.
Cause
ModSecurity package provided by Plesk does not have built-in JSON support.
Comments
0 comments
Please sign in to leave a comment.