I used to use a virtualhost.sh script file to create virtual hosts on my Mac OS X 10.4 Tiger installation. Then when I got my MacBook, I purchased 10.5 Leopard and installed it. At about the same time, I found a program to assist with configuring all the virtual hosts for Apache, called VirtualHostX for MacOS X. After I tried the program, I explained to someone else how easy it was to backup and restore virtual domains using this program and I immediately registered it for the $7.00 it cost. I would gladly have paid double.
Sometime a week or so ago, I sent a bug report noting that it didn’t have the ability to keep virtual host directives if you set them in the httpd-vhosts.conf file manual, as at the time it didn’t allow it in the program itself. Anytime you applied any settings in the program it would override your manually edited settings. Less than an hour later, I was informed that it would be included in the next release. A few days later, the new release was out.
Downloaded and installed Version 1.1.0. After playing with this new release, I used it to make a complete backup of my MAMP (Mac OS X, Apache, MySQL, PHP) settings and site source files to my older Mac mini. As I was using the directives for 3 virtual host domains, I wanted to use the new updated version to add these in, and it worked without having to manually edit the files. I just noticed one thing, it didn’t allow copy and paste in the new field, or in any field for that matter. It did allow for drag and drop, which was kinda useful, but copy and paste would help out even better. So I sent out a new bug report. Amazingly, I got a reply which seemed almost immediately to me, as not only was it reported that it would be fixed in the next version, but it was already released. Mind you, I has just downloaded 1.1.0 earlier today, and 1.1.1 was out just soon after I explained the bug.
So, I downloaded the Version 1.1.1. Low and behold, it had the fix for copy and paste as well as a new feature. Now it supports the ability to give your virtual host settings specific port addresses.
I can honestly say that now, this program is flawless.
If you use a Mac to design websites using Apache as your server, download this application. As it has become a major tool in my collective.
You can buy this app online at: http://clickontyler.com/virtualhostx/
And if you want, tell him I sent you.