I had a perfectly working setup of Apache on my Mavericks installation, which seems to have been corrupted when installing Yosemite? Apache IS installed, but playing around with Directories in httpd.conf, I either get an Error 403 or unable to connect, when trying to reach
http://localhost/
Any ideas?
I had that 403 on my main Vhosts directory. chalmers.com.au
Once I added index.php (see below) it worked. I had also a .htaccess file in that ghost directory, that disallowed Indexes, so as it couldn't do either - and there was no index.html file the default, it gave me an error 403.
What a pain this is ...
I have everything working now in the latest 10.10 release. As at 30th September 2014.
I had a perfect working Apache running on 10.9, finally bit the bullet today one up'd to 10.10. Of course Apache broke.
Made sure I had things ok in http.conf, with a few changes.
Had to add this, index.php - I'd completely forgotten it.
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.html
index.php
</IfModule>
I turned off Indexes by removing it from here
Options FollowSymLinks Multiviews
Indexes
MultiviewsMatch Any
I changed my User/Group to _www/staff, because I'm using Wordpress and it needs to be that so it will store files in the directory.
There were a few changes for the virtual hosts, but not many. Had to tweek my .htaccess files as well
I guess there will be other things - but for now, I'm happy