On Monday 09 July 2001 19:38, Robin Berjon wrote:
> On Monday 09 July 2001 18:09, Geoffrey Young wrote:
> > > From: Robin Berjon [mailto:[EMAIL PROTECTED]]
> > > In order to access the configuration, I'm using (in a nutshell):
> > >
> > > cfg = (axkit_dir_config *)
> > > ap_get_module_config(s->module_config, &XS_AxKit);
> >
> I added a server config creator which is an exact copy of the per-directory
> config creator to the module struct, except that it takes a server_rec as
> its second arg instead of a string. Perhaps I need to do something with
> that server_rec (eg set the module config on it instead of simply returning
> it), but I wasn't able to find anything helpful in the Apache docs (I might
> have missed though, pointers welcome).
It would seem (if I understand correctly) that my cfg is only finally
initialized after the server merge and dir merge have been called, but that
unfortunately <Perl> sections are called before that... Can anyone confirm
this ? And if it is the case, is there a way I can work around that problem,
eg by defining some handler code to be called after merging but before
children are created ?
Thanks !
--
_______________________________________________________________________
Robin Berjon <[EMAIL PROTECTED]> -- CTO
k n o w s c a p e : // venture knowledge agency www.knowscape.com
-----------------------------------------------------------------------
Always remember you're unique just like everyone else.