You may get something like this when you try to view your website or any URL within it.
The Forbidden error is a http status code 403. It simply means you don't have permission to access / on this server. The / symbol could be relaced by any URL on your website, depending on where you saw the error.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request - The 404 error is coincidental and occurs because, you have not yet configured a custom error page to handle 404 errors. You can do this in cPanel using the Error Pages icon in the 'Advanced' section of your cPanel account.
Mod Security has blocked access to the page due to a rule infringement
Mod security is a system that filters all incoming requests to your website. Mod security rules protect your site against unwanted injection or hacking attempts. It works in the background, and checks every page request against thousands of rules to filter out requests that look malicious. That is to say, requests that have been crafted to exploit vulnerabilities in website software with the ultimate goal of hacking your website.
Sometimes, due to poorly written code within your website, mod security will incorrectly determine that a request is bogus, when in fact it is quite innocent. When this happens you will get a 403 Forbidden error.
Users can disable ModSecurity on their account by adding to the .htaccess file the following:
While we strongly do not recommend this some users may wish to perform this as a temporary solution in helping them diagnose whether ModSecurity is playing a role in their issue.
In order for the world to be able to browse your website, you have to give it permission! This is usually all handled automatically when you upload files. However, if you have been working with permissions, then it's possible you made a mistake.