My server configuration is Plesk Onyx 17.8.11 on Debian 9.5 with Comodo ModSecurity (subscription).
When trying to whitelist one IP serverwide in ModSecurity with a rule such as:
SecRule REMOTE_ADDR "^192\.168\.1\.1$" phase:1,id:210280,nolog,allow
It throws the following error:
"Invalid ModSecurity configuration: AH00526: Syntax error on line 1 of /etc/apache2/plesk.conf.d/modsecurity.conf: ModSecurity: Found another rule with the same id".
However modsecurity.conf file is empty.
When trying to whitelist one IP serverwide in ModSecurity with a rule such as:
SecRule REMOTE_ADDR "^192\.168\.1\.1$" phase:1,id:210280,nolog,allow
It throws the following error:
"Invalid ModSecurity configuration: AH00526: Syntax error on line 1 of /etc/apache2/plesk.conf.d/modsecurity.conf: ModSecurity: Found another rule with the same id".
However modsecurity.conf file is empty.