I getting started with zend framework 2 and they have a prerequisite of an installation and configuration of mod_rewrite for apache. Apache 2.2.22 came pre-installed on Mac
yosemite os x should be like this:
ServerAdmin enzo@enzolutions.com
DocumentRoot "/Users/enzo/www/drupal8"
ServerName drupal8
#ServerAlias www.dummy-host.example.com
Require all granted
Options Includes FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
ErrorLog "/private/var/log/apache2/drupal8-error.log"
CustomLog "/private/var/log/apache2/drupal8-access.log" common
gotten from this blog post