Re: Apache virtual hosts with MySQL?
On Wednesday 10 Dec 2003 4:04 pm, Greg Bolshaw wrote:
> Does Apache have support for virtual hosts that are stored in a MySQL
> database? If not, are there any other web servers that allow virtual
> hosts to be created from data stored by MySQL?
You'll need to write a customise the config process, it's covered in the
Oreilly Apache modules book. In particular, take a look at the configfile_t
structure and the ap_srm_command_loop function. mod_perl does it's own
config thing so that might also be worth a look.