> -----Original Message-----
> From: Charles John Brabec [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 02, 2001 2:36 PM
> To: Christian Gilmore
> Cc: Geoffrey Young; [EMAIL PROTECTED]
> Subject: Re: [RFC] Apache::BlockSymLinks 0.1
>
>
> Christian, Geoff, et al,
>
> I was not aware of the Apache::ModuleConfig setup, thanks for the
> pointer.
>
> According to chapter 8, p388, the setup requires configuring the
> Makefile.PL so it will create an .xs file and compile it as
> part of the
> make process. The module must be loaded into Apache via a PerlModule
> statement, but it does not require a rebuild of Apache or mod_perl. Is
> that about right?
yup. the only thing you have to do is follow the example for the
Makefile.PL and then code the appropriate stuff in your .pm to handle how
you want to store the data your new directive gives you. See
Apache::Dispatch or AxKit working examples (those are the only two I can't
think of others offhand that use it)
>
> In my case, I would gain the ability to list the directives explicitly
> inside the Dierctory container (which I like). I would lose
> the ability
> to change the config file without a restart of the server.
> (Inconvenient, but not a show-stopper)
yes - I haven't checked into the implications of a restart + ModuleConfig
directives, though (whether mod_perl can pick up on the changes). I'll have
to look into it.
--Geoff
>
> Thanks again for the info.
>
> Charles
>
> > I've toyed with ModuleConfig, and it is really cool, but I
> was under the
> > impression that people stayed away from using it since it appears to
> > require a recompile of mod_perl for every module that inserts a new
> > directive into the list. That's why I assumed the use of
> PerlSetVar was
> > much more popular than ModuleConfig.
> >
> > Regards,
> > Christian
> >
> > On Fri, 2 Feb 2001, Geoffrey Young wrote:
> > > you may want to look into Apache::ModuleConfig to see how
> you can create
> > > directives without the need for a separate config file.
> > >
> > > for instance:
> > > SymLinkRule Deny .*
> > >
> > > it's pretty easy and probably a bit cleaner in this case
> (since I suspect
> > > that you moved to a config file since PerlSetVar just
> didn't fit the bill
> > > for the syntax you wanted). just see chapter 8 of the Eagle book
>
> --
> Dr. Charles J. Brabec | I know now that there's one thing you've all
> Web Systems Programmer | overlooked: intelligence and
> education that hasn't
> [EMAIL PROTECTED] | been tempered by human affection
> isn't worth a damn. -
> PH 919.513.0171 | - Daniel Keyes, 'Flowers for Algernon'
>