From 9650c40c9fa66670c476d9bbb085ef00e90e7e48 Mon Sep 17 00:00:00 2001 From: Jeff Trawick Date: Fri, 19 Sep 2003 20:02:04 +0000 Subject: [PATCH] Fix mod_info to use the real config file name, not the default config file name. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Submitted by: Aryeh Katz Reviewed by: G�nter Knauf, Jeff Trawick git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101297 13f79535-47bb-0310-9956-ffa450edef68 --- CHANGES | 3 +++ modules/generators/mod_info.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 0cd6fad7af..12df1c9404 100644 --- a/CHANGES +++ b/CHANGES @@ -2,6 +2,9 @@ Changes with Apache 2.1.0-dev [Remove entries to the current 2.0 section below, when backported] + *) Fix mod_info to use the real config file name, not the default + config file name. [Aryeh Katz ] + *) This fixes the cache code so that responses can be cached if they have an Expires header but no Etag or Last-Modified headers. PR 23130. diff --git a/modules/generators/mod_info.c b/modules/generators/mod_info.c index f28c899932..9dffaf5b08 100644 --- a/modules/generators/mod_info.c +++ b/modules/generators/mod_info.c @@ -405,7 +405,7 @@ static int display_info(request_rec *r) ap_rprintf(r, "
Server Root: " "%s
\n", ap_server_root); ap_rprintf(r, "
Config File: " - "%s
\n", SERVER_CONFIG_FILE); + "%s\n", ap_conftree->filename); ap_rputs("
", r); } for (modp = ap_top_module; modp; modp = modp->next) { -- 2.50.1