This guide explains how to disable a specific ModSecurity rule for a single domain within WHM. This action is available on Hostek plans that include the ModSecurity functionality.
Important: This feature is only available on Hostek plans that include ModSecurity.
Before you begin
You will need:
Server Administrator access to WHM
The specific domain name
The specific ModSecurity rule ID or signature that is causing issues
Disabling a ModSecurity Rule
Log in to WHM.
In the search bar at the top of the page, type ModSecurity and select ModSecurity™ Vendors.
Locate the domain you wish to modify and click the Edit icon (or the domain name) to enter the configuration for that specific domain.
Locate the specific rule that is being triggered.
Select the option to disable the rule for this domain.
Click Save or Update.
Warning: Disabling a ModSecurity rule can lower the security of your website by allowing potentially malicious traffic to bypass specific filters. Only disable rules that are confirmed to be causing false positives.
Confirm the result
The specific rule will no longer be enforced for the selected domain.
The website will no longer block the specific action or request that was previously being caught by that rule.
Limitations
This procedure only disables the rule for the specific domain selected in the configuration. It does not disable the rule for other domains on the server or for the server as a whole. If you are unsure which rule is causing a problem, you may need to review the server's error logs before making changes.
