I'm running Apache on a Mac, and all of the sudden http://localhost
results in Apache's HTDOCS folder, while for some time now it correctly referred to my Sites folder.
Running apachectl -D DUMP_HOSTS
yields:
(13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Some HTTPD.CONF settings:
Listen 80
DocumentRoot "/Users/[username]/Sites"
<VirtualHost *>
DocumentRoot "/Users/[username]/Sites"
ServerName localhost
</VirtualHost>
HELP.