http://digitalshore.io/local-web-development-environment-apache-macos-sierra-10-12 This is the guide that i used to set up an apache server. I did everything that was necessary but i wasn't able to run this command $ sudo cp httpd-userdir.conf httpd-userdir.conf.bak Answer from terminal was "Access denied" So, I decided not to make back-up files. When i completed the proccess, i entered this in the browser
http://localhost/~username, where username was my actual username. And got this response
You don't have permission to access /~username on this server.
apachectl configtest. And got this:
Warning: DocumentRoot [/usr/docs/dummy-host.example.com] does not exist AH00112: Warning: DocumentRoot [/usr/docs/dummy-host2.example.com] does not exist AH00557: httpd: apr_sockaddr_info_get() failed for MacBook-Pro-Tim.local AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message Syntax OK
What should I do?