patrick gibson [/news/andsuch/000091.php]
Enter virtualhost.sh — the most powerful and easy shell script for Mac OS X that sets up a virtualhost into your system. Using NetInfoManager, virtualhost.sh lets you easily create a named virtual host that is only accessible locally.
So, just as I was thinking, man, it really shouldn’t be that hard to script adding a virtual host entry into Apache’s httpd.conf file, a simple Google search reveals that, of course, someone has already written the script, and it is very good. 🙂
Link to share this: https://gabrielserafini.com/blog/2004/08/17/os-x-virtual-host-setup-script/