-
Notifications
You must be signed in to change notification settings - Fork 99
Home
This script allows you to easily create virtual hosts for a development environment on Mac OS X with the built-in Apache server so that you can reflect a production environment locally.
The master branch of this project should work fine for Mac OS X 10.6 (Snow Leopard) - 10.10 (Yosemite). 10.5 (Leopard) also worked fine at some point.
There are separate branches for the Mac OS X 10.4 and below and Ubuntu Linux. The Tiger and below version of the script uses Net Info Manager to handle the host creation and resolution. Leopard eliminated Net Info Manager, so it uses /etc/hosts instead. Bjorn Wijers adapted the script for Ubuntu Linux. (See the old Google Code project for older versions.)
The original page for virtualhost.sh is http://patrickgibson.com/utilities/virtualhost, and you may find the discussion via the comments useful.
See _pages for other wiki entries.