Easily Add VirtualHosts to Leopard 10.5

by Kyle Hayes on May 6th, 2008

The Leopard upgrade to OS X changed a few things with the local web server configuration. Namely, it comes standard with Apache2 now which means that VirtualHosts are done differently as well now. After attempting to add my own custom VirtualHosts to what I thought was the right conf file, I gave up and found a better solution.

Patrick Gibson provides a great little shell script that I simply run with the name of the VirtualHost that I want to create and it automatically makes all the appropriate changes to the VirtualHosts conf file as well as the “hosts” file. More information here:

http://patrickgibson.com/utilities/virtualhost/

Popular Posts

From Apple

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS