Mac OSX - Où est le dossier localhost par défaut?
Sous Mac OSX, le dossier localhost par défaut se trouve à/Library/WebServer/Documents
P.S Tested with MacOS Sierra, 10.12.6
Trouvez httpd.conf
Par défaut, Apache est activé et installé dans/etc/apache2/
, dans le fichierhttpd.conf
, recherchezDocumentRoot
pour savoir où se trouve le dossier localhost par défaut.
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"#...