i changed my permissions to the main folder to 777 and i hit apply changes recursively
and this is what appears once i try to open the webpage
Forbidden
You don't have permission to access /main/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.