First of all, you have to make sure all the hostnames (www.website2.org, website.com, etc) resolve to the IP address of your webserver.
In the www.website2.org, you want to use PHP. You have to tell Hiawatha about how to handle PHP files. Use the CGIhandler option for that. You also have to use 'ExecuteCGI = yes' in the second virtual host, to tell Hiawatha to execute CGIs.
If you want to use an URL without www. just add the name to the Hostname option. You can also use a wildcard: *.website.com. Note that the first hostname you specify cannot contain a wildcard.
You configuration file should be like this:
Hostname = 127.0.0.1
WebsiteRoot = /var/www/blank
StartFile = index.html
CGIhandler = /usr/bin/php-cgi:php
VirtualHost {
Hostname = www.bugzillaExample.com
WebsiteRoot = /var/www/bugzilla222
StartFile = index.cgi
AccessLogfile = /var/www/kigwa/access.log
ErrorLogfile = /var/www/kigwa/error.log
ExecuteCGI = yes
}
VirtualHost {
Hostname = www.website2.org, website2.org
WebsiteRoot = /var/www/rc2k
StartFile = index.php
ExecuteCGI = yes
}
Make sure you have php-cgi installed. If php-cgi is not located in /usr/bin, adjust the CGIhandler setting.