- Plesk for Linux
- Plesk for Windows
How to whitelist a single IP address for ModSecurity via UI?
As an example in order to whitelist 203.0.113.2 IP address with rule ID 55666 proceed with the following:
- Navigate to Tools & Settings > ModSecurity > Settings > Configuration
Add the following rule:
CONFIG_TEXT: SecRule 203.0.113.2 "^127\.0\.0\.1$" phase:1,log,allow,ctl:ruleEngine=Off,id:55666