|
Project Information
Featured
Downloads
Links
|
Several Apache modules to allow Apache 2.2+ to access databases using DBD.These modules work on Windows or Unix with any of the DBD drivers included in the Apache 2 DBD Framework. See the Building Wiki for instructions to build these modules for Unix or Windows. Windows users can get binaries built with Visual Studio 2008 (a.k.a. VC9) from the Apache Lounge. mod_log_dbdLog web requests to an SQL databaseLoadModule log_dbd_module modules/mod_log_dbd.so
...
CustomLog logs/access.sql "%h, %l, %u, %{%Y-%m-%d %H:%M:%S}t, %r, %>s, %b"
DBDLog logs/access.sql "INSERT INTO LogTable (Host, Rname, User, Tstmp, Request, Status, Bytes) \
VALUES (%s, %s, %s, %s, %s, %s, %s)"See the mod_log_dbd Wiki for details. mod_vhost_dbdOverride the document root directory from an SQL databaseLoadModule vhost_dbd_module modules/mod_vhost_dbd.so ... DBDocRoot "SELECT DocRoot FROM WebTable WHERE Host = %s" HOSTNAME See the mod_vhost_dbd Wiki for details. Release History
|