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
I know this is an old thread, but this also might raise this issue:
Make sure DocumentRoot and Directory links to the same folder in /etc/apache2/extra/httpd-vhosts.conf as following:
DocumentRoot
Directory
/etc/apache2/extra/httpd-vhosts.conf
This is an innocent mistake if you copy the virtual host block from existing sites.
Cheers!