> Aryeh Katz wrote:
>
> > In mod_info, SERVER_CONFIG_FILE is used in order to determine which
> > config file the apache server is running with However, this ignores
> > the -f option. Shouldn't we be printing out ap_conftree->filename?
>
> that sounds right to me... got a patch you have tested that I can
> play with? (this time with old file on left and new file on right ;)
Sorry about that last patch :-(
Patch below was tested and it worked in a linux environment.
# diff -u mod_info.old.c mod_info.c
--- mod_info.old.c Mon Sep 15 07:48:59 2003
+++ mod_info.c Mon Sep 15 07:50:18 2003
@@ -405,7 +405,7 @@
ap_rprintf(r, "<dt><strong>Server Root:</strong> "
"<tt>%s</tt></dt>\n", ap_server_root);
ap_rprintf(r, "<dt><strong>Config File:</strong> "
- "<tt>%s</tt></dt>\n", SERVER_CONFIG_FILE);
+ "<tt>%s</tt></dt>\n", ap_conftree->filename);
ap_rputs("</dl><hr />", r);
}
for (modp = ap_top_module; modp; modp = modp->next) {
---
Aryeh Katz
Secured-Services Inc.