I know you can do:
$r->location_merge('container_string');
which forces an earlier merge, but I'm not sure it'll affect the conf tree shown by Apache::Directive. Have you tried looking at the C code to see whether there is a C API for that?
well, there's $r->per_dir_config and $r->request_config which return an Apache::ConfVector object.
there's Apache::Directive::walk_config which takes an Apache::CmdParms object (i have no idea from where, how one applies this, etc) and an Apache::ConfVector object, presumably the one returned from $r->(per_dir|request)_config. although, that seems like more of a "write" than a "read" method. what i'm after is the result of the merge without actually permanently modifying anything.
Yup. I'm not yet aware of any working code in this area, Apache::ConfVector is returned but I can't quite see where it can be used. This part of the API seems to be rather incomplete.
will look at httpd source i guess, and the mod_perl 2 source again.
That would be great. If you send the patches to fill in the missing gaps that would be great too :)
-- __________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
-- Report problems: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html List etiquette: http://perl.apache.org/maillist/email-etiquette.html