Received: (qmail 23031 invoked by uid 501); 4 Jan 2001 02:59:28 -0000 Message-Id: <20010104025928.23030.qmail@apache.org> Date: 4 Jan 2001 02:59:28 -0000 From: Youichirou Koga Reply-To: y-koga@apache.or.jp To: submit@bugz.apache.org Subject: "?auto" request shows some machine unreadable messages X-Send-Pr-Version: 3.110 >Number: 7025 >Category: mod_status >Synopsis: "?auto" request shows some machine unreadable messages >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Jan 03 19:00:01 PST 2001 >Closed-Date: Wed Jan 03 20:15:59 PST 2001 >Last-Modified: Wed Jan 03 20:15:59 PST 2001 >Originator: y-koga@apache.or.jp >Release: 1.3.15-dev and before >Organization: >Environment: FreeBSD 4.2-STABLE, etc. >Description: #I reported this problem on 30/Dec/2000 as PR#7021, but it has been overwritten another PR. "?auto" request shows some machine unreadable messages:
To obtain a full report with current status information you need to use the ExtendedStatus On directive. >How-To-Repeat: get /server-status?auto >Fix: Index: src/modules/standard/mod_status.c =================================================================== RCS file: /home/y-koga/work/cvs/apache-1.3-cvs/src/modules/standard/mod_status.c,v retrieving revision 1.117 diff -u -r1.117 mod_status.c --- src/modules/standard/mod_status.c 2000/12/13 05:10:41 1.117 +++ src/modules/standard/mod_status.c 2000/12/30 15:07:58 @@ -713,9 +713,10 @@ } else { - ap_rputs("
To obtain a full report with current status information ", r); - ap_rputs("you need to use the ExtendedStatus On directive. \n", r); - + if (!short_report) { + ap_rputs("
To obtain a full report with current status information ", r); + ap_rputs("you need to use the ExtendedStatus On directive. \n", r); + } } if (!short_report) { >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: fanf State-Changed-When: Wed Jan 3 20:15:58 PST 2001 State-Changed-Why: Patch committed, Thanks! >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]