This guide explains how you can use mod_mysql_vhost to create simple virtual hosts on a lighttpd web server on Debian Etch. With mod_mysql_vhost, lighttpd can read the vhost configuration from a MySQL database. Currently, you can store the domain and the document root in the MySQL database which results in very simple virtual hosts.
Read more »Creating Simple Virtual Hosts With mod_mysql_vhost On Lighttpd (Debian Etch)
http://www.howtoforge.com –