Received: (qmail 13496 invoked by uid 2012); 21 Nov 1997 17:26:13 -0000 Message-Id: <19971121172613.13495.qmail@hyperreal.org> Date: 21 Nov 1997 17:26:13 -0000 From: M.D.Parker Reply-To: mdpc@netcom.com To: apbugs@hyperreal.org Subject: Status Information should display server version and build date X-Send-Pr-Version: 3.2 >Number: 1448 >Category: mod_status >Synopsis: Status Information should display server version and build date >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Class: change-request >Submitter-Id: apache >Arrival-Date: Fri Nov 21 09:30:01 PST 1997 >Last-Modified: Sat Feb 21 07:24:13 PST 1998 >Originator: mdpc@netcom.com >Organization: >Release: 1.3b3 >Environment: N/A >Description: In managing a number of different web sites, the status module provides information to spot problems. However, the different sites run different versions of the Apache web server which sometimes is confusing to the poor systems administrator. With the addition of 2 lines of code, this information is easily provided in the status display and really does help out. >How-To-Repeat: Yes... >Fix: *** mod_status.c.dist Thu Nov 20 21:51:15 1997 --- mod_status.c Thu Nov 20 21:56:22 1997 *************** *** 327,332 **** --- 327,334 ---- rputs("\nApache Status\n\n", r); rputs("

Apache Server Status for ", r); rvputs(r, server->server_hostname, "

\n\n", NULL); + rvputs(r, "Server Version: ",SERVER_VERSION, "
\n", NULL); + rvputs(r, "Server Built: ",SERVER_BUILT, "
\n", NULL); rvputs(r, "Current Time: ", asctime(localtime(&nowtime)), "
\n", NULL); rvputs(r, "Restart Time: ", asctime(localtime(&restart_time)), "
\n", NULL); %0 >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: jim State-Changed-When: Sat Feb 21 07:24:13 PST 1998 State-Changed-Why: Implemented in 1.3b6 >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]