LogSQLMassVirtualHosting and mod_vhost_alias
"Dice R. Random" <[email protected]> Sat, 21 Jan 2006 00:31:21 -0800
| Newsgroups | gmane.comp.apache.mod-log-sql |
|---|---|
| Message-ID | <[email protected]> |
Hello List, I'm running a server that hosts a large number of domain names, we're currently evaluating mod_log_sql on our testbed as a replacement for mod_log_mysql. Everything's running smoothly except one issue, with mod_log_mysql all the logs went into one huge table, we're hoping to move away from that now so that we can reduce the size of our log tables and allow users access to their logs in the MySQL database. The problem we're having is that with LogSQLMassVirtualHosting enabled mod_log_sql will treat www.somedomain.com, somedomain.com, and foo.somedomain.com as if they were all seperate entities, whereas we would rather that everything under somedomain.com was logged into a single table. I believe this is actually related to the fact that mod_vhost_alias is setting an environment variable (or something... how's this done?) such that the vhost name is whatever domain was requested. Any ideas? How can I get all the subdomains logging into a single table? Thanks in advance :) _______________________________________________ Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/ To unsubscribe send an e-mail to mod_log_sql-unsubscribe-7qY7E20V6GW73k+5HYS8LQqVMODqnSLI@public.gmane.org