Sample Header Ad - 728x90

Chrome and Safari find localhost in two different locations

1 vote
0 answers
411 views
I've been trying to set up MAMP (macOS, Apache, MySQL, PHP) using Homebrew on macOS Monterey. I set the file directory for Apache as /Users/myname/Sites in httpd.conf. When I go to http://localhost in Chrome, I get the index.html page in that directory. But when I go to http://localhost in Safari, it opens the index.html page in /Library/WebServer/Documents. Do I somehow have 2 copies of Apache running? How do I resolve this conflict?
Asked by superflippy (61 rep)
May 12, 2022, 02:40 PM
Last activity: May 13, 2022, 07:28 AM