From: Jeff Trawick Date: Sat, 1 Nov 2003 16:29:57 +0000 (+0000) Subject: backport this from Apache 2.1-dev: X-Git-Tag: 2.0.49~411 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a69aa4a35cfbfc13e0241f17d4e6bd3a4db89781;p=thirdparty%2Fapache%2Fhttpd.git backport this from Apache 2.1-dev: Fix mod_info to use the real config file name, not the default config file name. Submitted by: Aryeh Katz Reviewed by: trawick, striker, nd git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@101650 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index d2e2a17dadb..7dd598a2ab4 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ Changes with Apache 2.0.49 + *) Fix mod_info to use the real config file name, not the default + config file name. [Aryeh Katz ] + *) Set the scoreboard state to indicate logging prior to running logging hooks so that server-status will show 'L' for hung loggers instead of 'W'. [Jeff Trawick] diff --git a/STATUS b/STATUS index bd52cdaf9a5..7c4ba41a019 100644 --- a/STATUS +++ b/STATUS @@ -1,5 +1,5 @@ APACHE 2.0 STATUS: -*-text-*- -Last modified at [$Date: 2003/11/01 16:22:15 $] +Last modified at [$Date: 2003/11/01 16:29:56 $] Release: @@ -256,11 +256,6 @@ PATCHES TO BACKPORT FROM 2.1 modules/filters/mod_ext_filter.c r1.5 +1: trawick, nd - * Fix mod_info to use the real config file name, not the default - config file name. - modules/generators/mod_info.c r1.151 - +1: trawick, striker, nd - * When UseCanonicalName is set to OFF, allow ap_get_server_port to check r->connection->local_addr->port before defaulting to server->port or ap_default_port() diff --git a/modules/generators/mod_info.c b/modules/generators/mod_info.c index f28c899932e..9dffaf5b087 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) {