OSX El Capitan localhost webserver stopped working after changing file permissions and restarting

36 Views Asked by At

I broke the apache2 webserver in el capitan.

Was trying to assign read write execute to all files within /Library/Webserver/Documents/

the two commands that broke localhost are:

sudo chmod -R 777 /Library/Webserver/Documents/

sudo apachectl restart

How to get it working again? When i try an load http://localhost - It is just a spinning wheel after

Does it have to do with file permissions?

0

There are 0 best solutions below