Here is something to remember. Use the command “sudo apachectl -t” to detect problems in httpsd.conf. I had a problem where https://localhost would return an error “Safari can’t connect to the server…” and running this command reported “httpsd: Syntax error on line 488 of /private/etc/apache2/httpsd.conf: Could not open configuration file /Users/…/phpweb20/httpsd.conf: No such file or directory”. Commenting out the offending line in httpsd.conf solved the problem. Apparently in some previous coding work I modified httpsd.conf and later erased a referenced file. Another lesson relearned.
Apache problem…
Published