SRP,
If I am correct, that will work if you only need to look at only
server/vhost cfg structures (won't work for directory, location, files, or
.htaccess directives).
My recommendation is to log (or otherwise write to a file or multiple
files) all of your dir_cfg data either when you do merge processing or at
the beginning of a request.
Keep your ears open though. You might hear a better idea from some of
the more experienced module-writers.
Regards,
Dave
On 4/12/07, Saju Pillai <[EMAIL PROTECTED]> wrote:
Greetings,
I am attempting to write a apache 2.2 module that has per
dir/location directives. I need to examine all the per dir/location
module_config's for this mod.
Can I do something like ...
for (server = base_server; server; server = server->next) {
conf = ap_get_module_config(server->lookup_defaults, &my_mod);
}
regards
srp
--
David Wortham
Senior Web Applications Developer
Unspam Technologies, Inc.
1901 Prospector Dr. #30
Park City, UT 84060
(435) 513-0672