Mac OSX - где находится папка localhost по умолчанию?
В Mac OSX папка localhost по умолчанию находится в/Library/WebServer/Documents
P.S Tested with MacOS Sierra, 10.12.6
Найти httpd.conf
По умолчанию Apache включен и установлен в/etc/apache2/
, внутри файлаhttpd.conf
, найдитеDocumentRoot
, чтобы узнать, где находится папка localhost по умолчанию.
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"#...