Re: mod_dbd and more than one database server

2008-07-09 Thread Kevac Marko
Thank you, but i need pool of connections too. So i think i'll fix mod_dbd to allow more than one connection pool and slightly change api to allow choosing pool of connections. On Thu, Jul 10, 2008 at 5:34 AM, Tom Donovan <[EMAIL PROTECTED]> wrote: > If you are writing your own module, you could a

Re: mod_dbd and more than one database server

2008-07-09 Thread Tom Donovan
Kevac Marko wrote: Hello. Is there any way in mod_dbd to connect to more than one database server? Yes - but only for different virtual hosts. You can put different mod_dbd directives within different sections. You can even use different DBDriver and DBDParams if you have completely diffe

Re: module initialisation

2008-07-09 Thread Nick Kew
On Wed, 9 Jul 2008 23:19:03 +0200 "Sorin Manolache" <[EMAIL PROTECTED]> wrote: > When I do an "/etc/init.d/apache2 reload", the post_config hook is > executed again (as expected), but seg is NULL again and I create yet > another shared memory segment. Reload isn't an apache term. It's your packa

module initialisation

2008-07-09 Thread Sorin Manolache
Hello, I am writing a DSO apache module that needs some initialisation---shared memory segment creation and a pipe---before performing its work. I have hooked post_config and I have put the initialisation there. static int *seg = NULL; static int p[2]; post_config_hook() { if (seg == NULL) {

mod_dbd and more than one database server

2008-07-09 Thread Kevac Marko
Hello. Is there any way in mod_dbd to connect to more than one database server? What is struct dbd_group_t? Something connected with more than one servers? There are no comments at all about that in code. -- С уважением, Кевац Марко Sincerely yours, Kevac Marko

Re: Module-Restart and Library-Reload

2008-07-09 Thread Nick Kew
On Wed, 9 Jul 2008 09:07:00 +0200 Manfred Rebentisch <[EMAIL PROTECTED]> wrote: > I have two questions in conjunction with my handler-module: > > A) The module does use other shared libraries (on linux, *.so) for > plugins / functionality. Is it possible to reload such a shared > library (after s

Jens Haulund is out of the office.

2008-07-09 Thread jens . haulund
I will be out of the office starting 07/07/2008 and will not return until 07/14/2008. I am on vacation - will return on Monday, July 14th

Module-Restart and Library-Reload

2008-07-09 Thread Manfred Rebentisch
I have two questions in conjunction with my handler-module: A) The module does use other shared libraries (on linux, *.so) for plugins / functionality. Is it possible to reload such a shared library (after software changes and placing a new version) without restart of apache? B) The module load