How to verify that ModSecurity works on the server?
- Any supported OS
Perform the following request which triggers a test rule
curl -v http://example.com//?i360test=88ff0adf94a190b9d1311c8b50fe2891c85af732
example.com with the domain from the test server. And check the Imunify360 console log for corresponding log records.
grep 'IM360 WAF: Testing the IM360 ModSecurity ruleset' /var/log/imunify360/console.log