Creating Advanced MySQL-Based Virtual Hosts On Lighttpd (Debian Etch)

Published by

Howtoforge published a guide about creating advanced MySQL-based virtual hosts on Lighttpd under Debian GNU/Linux 4.0
This guide explains how you can create advanced virtual hosts on a lighttpd web server on Debian Etch that are stored in a MySQL database. The method described here does not use the lighttpd mod_mysql_vhost module, and unlike mod_mysql_vhost (which allows you to store only the hostname and document root of a vhost in a database), this method allows to store individual configuration directives for each vhost in the MySQL database.

>> Creating Advanced MySQL-Based Virtual Hosts On Lighttpd (Debian Etch)