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

<VirtualHost *:80>
    DocumentRoot "/Users/kahwee/Sites/localhost"
    ServerName localhost
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "/Users/kahwee/projects/www.example.com/app"
    ServerName www.example.local
    ErrorLog "/Users/kahwee/projects/www.example.com/app/protected/runtime/error.log"
</VirtualHost>

<Directory /Users/kahwee/Sites>
    AllowOverride All
    Options All
    Order allow,deny
    Allow from all
</Directory>

<Directory /Users/kahwee/projects>
    AllowOverride All
    Options All
    Order allow,deny
    Allow from all
</Directory>
comments powered by Disqus