403 Forbidden Error

A 403 Forbidden error is usually seen when you have tried to view a web folder that doesn't have an index file.

For example if you have an index.html or index.php file in your public_html folder you will see that file when you visit '''.
If however you delete the index file, you will see a 403 Forbidden error when you visit '''. 

This is because directory listing is disabled by default, as this helps to protect your account from automated scanning software that searches for directory listings to find exploitable files, or to steal content.

You can enable directory listings by adding the below to your .htaccess file:

Options +Indexes 

Note: Placing the above in public_html will enable directory listings on all folders on your account - if its only needed on one folder, place it within the .htaccess file within that folder (you may need to create a file named .htaccess if it doesn't already exist).

Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
PHP Time Zone Errors (Views: 1059)


Client Login



Remember Me