资 源 简 介
Notice
This project has moved to:
![](http://virtualhost-sh.googlecode.com/svn/trunk/github.png).
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 trunk of this project is for the current version of Mac OS X, which at this time is 10.6 (Snow Leopard). 10.5 (Leopard) also works fine.
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.
The original page for virtualhost.sh is here, and you may find the discussion via the c