On Tue, 12 Sep 2000, Matt Sergeant wrote:

> I know this isn't in mod_perl yet, so take this as a feature request :-)

really, how do you know that? ;)
 
> What I'd like to see is a mod_perl equivalent of <IfModule>, so that I can
> add custom config directives to my httpd.conf perfectly safely:
> 
> <IfPerlModule AxKit>
>       AxAddStyleMap text/xsl Apache::AxKit::Language::Sablot
> </IfPerlModule>

you can already do that with modules that implement directive handlers:

PerlModule Apache::AxKit

<IfModule Apache::AxKit>
...
</IfModule>

i didn't realize/thinkabout it until you asked though.

p.s. have a look at mod_info's output w/ AxKit loaded if you haven't
already

Reply via email to