On 8/16/05, Christopher H. Laco <[EMAIL PROTECTED]> wrote:
> Philippe M. Chiasson wrote:
> > A sample example of what I _think_ you are trying to do would look like:
> >
> > <httpd.conf>
> > PerlModule Catalyst
> > </httpd.conf>
> >
> > <Catalyst.pm>
> > package Catalyst;
> > use Apache2::ServerUtil qw();
> >
> > [... figure out where/what to configure ...]
> >
> > Apache2::ServerUtil->server->add_config([
> > '<Location /foo-bar>',
> > '  SetHandler perl-script',
> > '  PerlHandler Catalyst::Foo::Bar',
> > ]);
> > </Catalyst.pm>
> >
> > With ->add_config, you can just feed arbitrary chunks of config to httpd, 
> > so you
> > are free to do whatever you need to do.
> 
> 
> Exactly. IS there an an equivilant in MP1?

Nobody has mentioned Apache->httpd_conf(), which makes me think I'm
not quite grokking the scenario, but at least during server startup,
you can feed chunks of config to the server this way.

d.

Reply via email to