Plesk

ModSecurity error message in the Event Viewer: SecReadStateLimit is depricated, use SecConnReadStateLimit instead

Symptoms

Cause

Going to Tools & Settings > Web Application Firewall (ModSecurity), shows that ModSecurity 2.8 or higher is installed.

The directive SecReadStateLimit has been deprecated starting with ModSecurity version 2.8.0.

Resolution

This error message can be safely ignored as there is no impact on the ModSecurity operability.

Workaround

  1. Connect to the server via RDP.

  2. Remove the following line in C:Program FilesModSecurity IISmodsecurity_iis.conf:

    Include owasp_crsexperimental_rules

  3. Log in to Plesk

  4. Go to Tools & Settings > Web Application Firewall (Mod Security)

  5. At Web application firewall mode select the checkbox Off and click Apply.

    Click Install

  6. Select again On at Web application firewall mode and click OK to apply the changes.

Exit mobile version