I upgraded a MacBook Pro laptop that was running
OS X El
Capitan to macOS High Sierra (10.13.6) this week. The laptop was
running Apache webserver software. After the upgrade, the system
wasn't listening on port 80 for
HTTP connections, but I was able to start it listening
again with sudo apachectl start
.
$ netstat -a | grep http | grep LISTEN $ sudo apachectl start Enter PIN for 'Certificate For PIV Authentication (JAMES CAMERON)': $ netstat -a | grep http | grep LISTEN tcp46 0 0 *.http *.* LISTEN $
I was then able to access the default webpage at http://localhost which
displayed the page contained in index.html.en
file in the
DocumentRoot
directory at
/Library/WebServer/Documents
, but whenever I attempted to display
pages I had created elsewhere, I kept getting a "404 Not Found" page indicating
the requested URL was not found on the server. When I checked
/private/etc/apache2/extra/httpd-vhosts.conf
, I found it had
a April 4, 2018 timestamp, but no longer had the virtual host information I
had previously put in the file.
[ More Info ]