Find a better article with Linux to build a virtual host
Http://www.uplinux.com/www/sys/03/0301/20040812/03012-41-13.shtml
Http://www.uplinux.com/www/sys/03/0301/20040812/03012-41-14.shtml
http://www.uplinux.com/www/sys/03/0301/20040812/03012-41-15.shtml
As long as you add a web add user, you can fully establish a virtual host.
Have time I use PHP to write a program to add users :)