I was looking for an answer to my problem, but I could'nt find any answer which solves my case.
The problem is that I can't access the app folders in my var/www/ folder. When I go to localhost/ i get the message that my server is running and I have access to phpmyadmin too. But when I go to any localhost/folder-name i get the 403 error:
Forbidden
You don't have permission to access /folder-name/ on this server.
Apache/2.2.22 (Ubuntu) Server at localhost Port 80
How can I solve it? Btw I'm using Ubuntu 13.04, and thanks for your answers. :)
The 403 Forbidden Error happens when the web page (or another resource) that you're trying to open in your web browser is a resource that you're not allowed to access. It's called a 403 error because that's the HTTP status code that the webserver uses to describe that kind of error.
Solved the problem with:
sudo chown -R $USER:$USER /var/www/folder-name
sudo chmod -R 755 /var/www
Grant permissions
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With