Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Aug 09, 2025, 04:56 AM

Title: 502 Bad Gateway error on Plesk when using Comodo ModSecurity ruleset
Post by: Suhitha on Aug 09, 2025, 04:56 AM

Symptoms


      AH00526: Syntax error on line 6035 of /etc/httpd/conf/modsecurity.d/rules/comodo_free/30_Apps_OtherApps.conf: Error creating rule: Error compiling pattern (offset 4): invalid range in character class       

Cause

The mod_security package installed from the Atomic repository is not fully compatible with the current Comodo rule set.

Resolution



# dnf swap mod_security mod_security --enablerepo=PLESK_18_0_70-extras --disablerepo=atomic --skip-broken