What is ModSecurity?

ModSecurity is an open-source web application firewall (WAF) that detects and prevents attacks on your site.

Enabling or Disabling Rules

1. Access ModSecurity

Find the "ModSecurity" icon in the Security section of cPanel.

2. Manage Domains

You can turn ModSecurity On or Off for each individual domain or for the entire account.

# Rule Monitoring
Detects: SQL Injection, XSS, Session Hijacking

When to Disable ModSecurity

If your site shows 406 errors, ModSecurity might be blocking a legitimate request.

SymptomAction
406 Not AcceptableCheck logs / Disable temporarily
Blocked Form SubmissionWhitelist specific rule