Report this

What is the reason for this report?

Forbidden You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered

Posted on May 5, 2017

i just updated my website and the was the error

Forbidden

You don’t have permission to access / on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

is there a way i can resolve this



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This comment has been deleted

Hi @lavgee

When the website was updated, it probably removed some files - including index.php or index.html of the directory you’re trying to view, which is why you get that error, since directory listing is not something that is enabled by default.

Which website system do you use?

You can see more detailed errors in the error log, which is located in: If using Apache, it’s default location is /var/log/apache/error.log If using Nginx, it’s default location is /var/log/nginx/error.log

Hello,

I just came across this question. In addition to what has already been mentioned, I would recommend checking the answer here on how to troubleshoot common Nginx problems:

https://www.digitalocean.com/community/questions/how-to-troubleshoot-common-nginx-issues-on-linux-server

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.