What is ModSecurity

ModSecurity is a URL firewall and it triggers based on a set of regular expressions (pattern matches). ModSecurity protects websites and web applications from hackers and malware by filtering and monitoring HTTP traffic between a web app and the Internet.

cPanel has this feature by default and uses the OWASP ModSecurity Core Rule Set, created by atomicorp.com.

On our shared hosting packages, LetsHost uses a ruleset provided by https://malware.expert/

Some website changes you attempt to make could trigger one (or more) of the rules often resulting in 403 Forbidden errors, 404 errors or causing your IP address to get blocked by the server.

 

What can I do if I am getting blocked?

First please open a ticket from your Client Area and provide your IP address as per: ip.letshost.ie with this we can confirm what rule is being triggered.

From there we generally recommend simply turning off ModSecurity while you are making changes to your site and then enabling ModSecurity again once you are finished.

 

To do this, login to cPanel from your Client Area

  1. Click Services > My Services
  2. Click the green Active button beside your hosting account
  3. Click Login to cPanel on the left-hand side (This will open cPanel in a new tab)
  4. Under the Security section click the ModSecurity option.

From here you can disable ModSecurity across all of your domains or you can disable each individually with the on/off switches.

Alternatively, we can whitelist the specific rule that is being triggered on your account, we however do not recommend this method for the security implications involved, simply open a ticket from your Client Area and let us know.

 

If you have any questions on the above, please do not hesitate to 'Open a Ticket' and we will be happy to advise further.

 

  • #modsecurity, #ipaddress, #blocked, #cpanel, #security
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How do I disable the ModSecurity firewall on my hosting account?

ModSecurity is a web application firewall. It monitors incoming web traffic for threats in...

How do I unblock myself on the firewall?

  Across our shared hosting network, we have a number of security measures in place to ensure to...

Adding a self-signed certificate to your hosting account

If you require a self-signed SSL certificate for your domain, you can add one via your cPanel...

I’m getting an ‘Reported Attack Page’ error on my website – How do I fix it?

If your website has been hacked into, Google (and other search engines) may be aware of this and...

How to scan an account for malware

If your website if not kept up-to-date with new updates and security releases, security...