My Apache Virtual Host file

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

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>