Over the course of two days I was doing a lot of changes to my Apache config. At times changes did not seem to be picked up, and it was always the case that I had somehow messed up the syntax of the config file, something
apachectl -t always would show. The syslog would also show error messages concerning respawning httpd.
The following day, I needed to make some additional changes, and noted they were not picked up by Apache. I wanted to see the errors in the apache error_log, but there was nothing to see. Removing them and restarting apache did nothing. The files were not even recreated!
So of course, I checked the syntax again, and
apachectl -t spits out
Syntax OK. Nothing wrong there, it seems. Then I check my syslog, and it is full of errors concerning httpd:
Mar 13 11:03:41 skinny com.apple.launchd (org.apache.httpd): Exited with code: 1 Mar 13 11:03:41 skinny com.apple.launchd (org.apache.httpd): Throttling respawn: Will start in 10 seconds
Stopping, starting, restarting with apachectl did absolutely nothing. But I was actually managing to access localhost. So what was happening?