403 Forbidden You don’t have permission to access / on this server. -Linux Server and Apache
I have installed Apache in root user successfully. I have also created separate instance for my website.
If I try to browse any file including the root site, I get the following error message:
403 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.
How to solve ?
I looked for the permission of the http folders, orginally it had only read permission.
I changed the permission for the http folder by using the following command.
# chmod -R 777 /var/www/html/
Now i could able to access all pages including root site.
Hope this may help you.