Support for Multiple Vhosts
Brought to you by:
meilyadam
Hi,
We're running a slightly older version of Skeith in which we modified some things (like ordering columns), which already found a way into Skeith.
Either way. The thing i'm missing in the official build is support for multiple vhosts. We're running mod_log_sql for quote some domains. We've modified it so it works.
I guess it would be nice to have it in the official build. :)
I have been thinking about adding this into an upcoming release. I think it wouldn't be very hard once I switch Skeith to use a INI configuration file rather than a PHP one. I would count on this feature in a future release.
Thank you for posting this request.
One question I have is how should the vhost be determined? That is, are vhosts seperated via the virtual_host column in the log table, or do you have a seperate MySQL table for each vhost?
We currently have seperate tables for each vhost. This is not really good for performance, since we've got at least 500 vhosts. I will probably change our own setup to virtual_host columns because of that. The best thing would be an option to say what kind of mode you are using.
In our "edition" of Skeith we've added a selectbox with the vhosts.
In the pages there is a GET (servername) in which the full tablename.
Forgot logging in, but that was my reply :)
Any word on this feature?
Yes, the next version, which I started working on today, will contain support for multiple vhosts.