Apache Issue after Installing OS X Yosemite
July 26, 2014
I recently updated to OS X Yosemite, and I was having issues with my Apache
installation. Specifically, this is the error I was getting when i
ran apachectl -t
(to test Apache configuration):
And according to this Github issue here,
it seems to be something to do with renaming of a file in Apache 2.4 (which Yosemite ships with).
I followed the suggestion there, and you’re required to uncomment this line
(remove the ‘#’ at the beginning of the line) in your /etc/apache2/httpd.conf
file:
Make sure you run the command as root, then restart apache. All should work great now!