Bug #262
closedmod_mysql_vhost ignored
Description
mysql support is compiled in
mod_mysql_vhost is compiled in
the config loads the module and i have the following configuration added for virtual hosting.
mod_mysql_vhost is the only vhost module.
vhost configuration (mysql tables are setup and do have information)
mysql-vhost.db = "lighttpd"
mysql-vhost.user = "lighttpd"
mysql-vhost.pass = "secret"
mysql-vhost.sock = "/var/lib/mysql/mysql.sock"
mysql-vhost.sql = "SELECT docroot FROM domains WHERE domain='?'"
when starting lighttpd, all i get is this:
Sep 13 02:27:43 srv3 lighttpd: 2005-09-13 02:27:43: (server.c.692) WARNING: unknown config-key: mysql-vhost.db (ignored)
Sep 13 02:27:43 srv3 lighttpd: 2005-09-13 02:27:43: (server.c.692) WARNING: unknown config-key: mysql-vhost.user (ignored)
Sep 13 02:27:43 srv3 lighttpd: 2005-09-13 02:27:43: (server.c.692) WARNING: unknown config-key: mysql-vhost.pass (ignored)
Sep 13 02:27:43 srv3 lighttpd: 2005-09-13 02:27:43: (server.c.692) WARNING: unknown config-key: mysql-vhost.sock (ignored)
Sep 13 02:27:43 srv3 lighttpd: 2005-09-13 02:27:43: (server.c.692) WARNING: unknown config-key: mysql-vhost.sql (ignored)
Sep 13 02:27:43 srv3 lighttpd: lighttpd startup succeeded
Updated by Anonymous over 19 years ago
http://trac.lighttpd.net/trac/ticket/158
-- dsturnbull
Updated by stbuehler about 17 years ago
- Status changed from New to Fixed
- Resolution set to invalid
Either you didn't load the module (lighttpd -p prints the complete config), or configure didn't find your mysql headers/libraries.
But i cannot see a bug here in lighttpd.
Also available in: Atom