A script for Mac OS X to create virtual hosts under Apache
You can grab the script here (Option-click to download.)
You'll need to
chmod a+x virtualhost.shin order to run it after downloading.
brew install virtualhost.sh
See the wiki
If you're interested in helping maintain virtualhost.sh, please create some focused pull requests and/or help out in the issues. Once you have a track record you can create an issue to request maintainership.
Original author: Patrick Gibson (pgib).