Just spent quite a while trying to sort this out but didn’t do the basics and check whether LoadModule rewrite_module modules/mod_rewrite.so was enabled.
Looks like it’s disabled by default in Max OS X Yosemite in /etc/apache2/httpd.conf so definitely worth checking this first! The other change needed was AllowOverride All in the Document <Directory> section.
Hope this helps.