Mac OSX – where is default localhost folder?
On Mac OSX, the default localhost folder is located at
P.S Tested with MacOS Sierra, 10.12.6
By default, Apache is enabled and installed in
httpd.conf file, find
DocumentRoot to tell where is the default localhost folder.
# DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # DocumentRoot "/Library/WebServer/Documents" <Directory "/Library/WebServer/Documents"> #... </Directory>