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
Add this to http-vhosts.conf file
Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny Allow from all
Don't forget to reload your apache using this commande
sudo apachectl restart
Good luck