Mac OSX - Wo befindet sich der Standardordner localhost?

Mac OSX - Wo befindet sich der Standardordner localhost?

image

Unter Mac OS X befindet sich der Standardordner localhost bei/Library/WebServer/Documents

P.S Tested with MacOS Sierra, 10.12.6

Finden Sie httpd.conf

Standardmäßig ist Apache aktiviert und in/etc/apache2/ installiert. Suchen Sie inhttpd.conf Datei nachDocumentRoot, um festzustellen, wo sich der Standardordner für localhost befindet.

sudo vim /etc/apache2/httpd.conf

# 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"

    #...