Virtual Hosting for Apache 2.x Project details for mod_vhs
mod_vhs is an Apache 2.0 Web server module allowing mass virtual hosting without the need for file-based configuration. The virtual host paths are translated from any database supported by libhome at request time from MySQL, LDAP, PAM, or a system password file.

This may be of use for Harolds little project:)