When loading localhost the page located in any folder should load.
When you replace the folder in DocumentRoot with your browser, it gives an access error:
Forbidden
You do not have permission to access / on this server.
Permissions of folders and html file changed to 777, 775, 770, 644, but the error did not disappear. All server actions were run via sudo. Replacing the path to any of your folders in the /etc/apache2/www/html section works well.
What access rights do I need to put my own directory so that when the localhost is loaded, the server would issue my page?
