This is more for my own reference. This is my development computer’s httpd-vhosts.conf. I don’t suppose anyone would find this useful:
NameVirtualHost *:80
DocumentRoot “/Users/kahwee/Sites/localhost”
ServerName localhost
DocumentRoot “/Users/kahwee/projects/www.example.com/app”
ServerName www.example.local
ErrorLog “/Users/kahwee/projects/www.example.com/app/protected/runtime/error.log”
AllowOverride All
Options All
Order allow,deny
Allow from all
AllowOverride All
Options All
Order allow,deny
Allow from all