403 Forbidden or No Permission to Access

The top reasons for this error are permissions or .htaccess error.

Permissions

The 403 Forbidden error means that your file has bad permissions. Directories and folders must be 755. Executable scripts within the cgi-bin folder must be 755. Images, media, and text files like HTML should be 755 or 644.

If your permissions were changed to 000, please email security@dtechghana.com and an administrator will help resolve this.
Only a security admin can fix this, as it is likely an abuse issue.

Hidden files (dot files)

If you see "client denied by server configuration" in your Error Logs, then this usually means bad file permissions, but could also mean that the visitor is trying to look at a hidden file, like the .htaccess file. You cannot look at that file in your browser, or any file name that starts with a dot.

e.g. http://domain.com/.htaccess will always result in a 403 error.

Other possibilities

The account may have IP Deny rules. Check in cPanel and make sure you are not blocking your own connecting IP.

You may have changed the Index Manager to No Indexing. This will cause a 403 error if their is no correct index page to load.

The error could be caused by our mod_security rules. Please contact us for further help.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Adjusting the file upload or post size

If you are using a PHP script and want to increase the "post size" or the "size of a file I can...

How to use sendmail with PHP

Here is the magical line of code which tells PHP to send an email through your mail server....

404 error page

404 means the file is not found. If you already uploaded the file, then either the name is...

How to find the correct spelling and path for your files, missing images

When you get a 404 error, check the URL in your browser. This tells you the path and file name...

allow_url_fopen, how to enable

This can be done via your php.ini file by adding the following line: allow_url_fopen = On The...