Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

403 forbidden

Hello i have problem to setup a new project. I give permissions 777 but I'm still having this msg:

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

Apache/2.4.7 (Ubuntu) Server at blog.dev Port 80


32.5k
Accepted
answer

What is root project ?

If root project is "/home/user/.../". You need to chown it for example:

    sudo chown apache2:apache2 -R /home/user.../

Thien is right. Make sure the apache2 or www-data user (depends on your apache installation) is the owner of the folder.

Also, Apache servers running suphp will not allow access on any folder with 777 permissions so you may have to set those to 755 if you keep running into this problem.