WHAT DOES FORBIDDEN YOU DON'T HAVE PERMISSION TO ACCESS ON THIS SERVER MEAN?

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

Bạn đang xem: What does forbidden you don't have permission to access on this server mean?

is there a way i can resolve this


*

I’m currently having an issue with this on my WordPress website. In addition, it eventually takes down everything except for the plesk admin panel, even my mail server.


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.


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.bephongngoaidon.com/community/questions/how-to-troubleshoot-common-nginx-issues-on-linux-server

Regards,Bobby


I had the same issue even though I set correct permission 775 for folders and 644 for filesI assume your web root folder is /homePlease try this command:chcon -R -t httpd_sys_content_t /home

It works for me and now the web root folder is “home”, not the default /usr/share/nginx/html/


There is a possibility of misconfiguration after the website update – that is, wrong file permissions are restricting the server to access the files. You should check the File permission of your web root directory which contained the index.html or index.php files.

For diagnostic correction, allow permission for all by typing:

sudo chmod -R 777 /path/to/index.htmland then;sudo chown -R : /path/to/index.html

where username is the ‘username’ you use to login to the Droplet, and group will be www-data if your web server is Apache.

Please let us know if this tip solves your problem. If not. then we will have to correct the ‘ErrorDocument’ attribute in apache configuration file or the attribute ‘AllowOverride’ in .htaccess file.


Reply
shwelu • May 8, 2017
There is a possibility of misconfiguration after the website update – that is, wrong file permissions are restricting the server to access the files. You should check the File permission of your web root directory which contained the index.html or index.php files.

For diagnostic correction, allow permission for all by typing:

sudo chmod -R 777 /path/to/index.htmland then;sudo chown -R : /path/to/index.html

where username is the ‘username’ you use to login to the Droplet, and group will be www-data if your web server is Apache.

Please let us know if this tip solves your problem. If not. then we will have to correct the ‘ErrorDocument’ attribute in apache configuration file or the attribute ‘AllowOverride’ in .htaccess file.


Reply

shwelu • May 8, 2017
There is a possibility of misconfiguration after the website update – that is, wrong file permissions are restricting the server to access the files. You should check the File permission of your web root directory which contained the index.html or index.php files.

Xem thêm:

For diagnostic correction, allow permission for all by typing:

sudo chmod -R 777 /path/to/index.htmland then;sudo chown -R : /path/to/index.html

where username is the ‘username’ you use to login to the Droplet, and group will be www-data if your web server is Apache.

Please let us know if this tip solves your problem. If not. then we will have to correct the ‘ErrorDocument’ attribute in apache configuration file or the attribute ‘AllowOverride’ in .htaccess file.


Reply

Flamber Hansen • May 5, 2017
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.logIf using Nginx, it’s default location is /var/log/nginx/error.log


Reply

Flamber Hansen • May 5, 2017
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.logIf using Nginx, it’s default location is /var/log/nginx/error.log


Reply

sicosavage • May 6, 2020
ForbiddenYou don’t have permission to access /login/forgot/vLkkenqar8cGaPTgJh1DY6I14lx1ycbCneUuitz1ksA on this server.


Reply

BocoranJudi • February 9, 2019
Thanks for your information, so helpfull.


Reply

Join the bephongngoaidon.com Community

Join 1M+ other developers and:

Get help and share knowledge in Q&ASubscribe to topics of interestGet courses & tools that help you grow as a developer or small business ownerJoin Now

Related


Attempting to run a bash script via user-data on creation isn't working and no logs

Question
Hotmail not receiving emails (Virtualmin)
Question
Join the bephongngoaidon.com CommunityJoin 1M+ other developers and:

Get help and share knowledge in Q&ASubscribe to topics of interestGet courses & tools that help you grow as a developer or small business ownerJoin Now
Popular Topics
Questions
Events
Get involved
*

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.


*

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.


*

Become a contributor

You get paid; we donate to tech nonprofits.

Featured on CommunityKubernetes CourseLearn Python 3Machine Learning in PythonGetting started with GoIntro to Kubernetesbephongngoaidon.com ProductsVirtual MachinesManaged DatabasesManaged KubernetesBlock StorageObject StorageMarketplaceVPCLoad Balancers

Welcome to the developer cloud

bephongngoaidon.com makes it simple to launch in the cloud and scale up as you grow – whether you’re running one virtual machine or ten thousand.

Learn More
*

Company
Products
Community
Contact
CommunityProductsCustomers
Sign in