ModSecurity is a web application firewall (WAF) that can be used to protect your website from several types of attacks. It is a powerful tool that can be used to block malicious requests and protect your website from common vulnerabilities such as SQL injection and cross-site scripting (XSS). In cPanel, you can change the status of ModSecurity to either enable or disable it.
Here's a step-by-step guide on how to change the status of ModSecurity in cPanel:
Step 1: Log in to cPanel
The first step is to log in to your cPanel account. If you are not sure how to log in, contact us for assistance.
Step 2: Navigate to the Security section
Once you are logged in, navigate to the "Security" section of cPanel.
Step 3: Find the ModSecurity Manager
In the Security section, you will find the "ModSecurity Manager" option. Click on it to access the management interface.
Step 4: Select the domain
In the ModSecurity Manager, you will be prompted to select the domain that you want to change the status of ModSecurity.
Step 5: Turn on or Off the ModSecurity
Once you have selected the domain, you will be able to turn on or off the ModSecurity . Just click on the button "On" or "Off" to change the status of ModSecurity .
Step 6: Save the changes
After turning on or off the ModSecurity , click on the "Save" button to save the changes.
It's important to note that ModSecurity can cause some false positives, and it can block some legitimate requests, so it's important to test your website after changing the status of modsecurity to ensure that everything is working as expected. In some cases, if you find that modsecurity is blocking some legitimate requests, you can whitelist the requests by creating a custom rule.
In conclusion, ModSecurity is a powerful tool that can be used to protect your website from several types of attacks. By changing the status of ModSecurity in cPanel, you can enable or disable it to suit your needs. Remember to always test your website after changing the status of ModSecurity to ensure that everything is working as expected.