>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: open
>Class: change-request
>Submitter-Id: apache
>Arrival-Date: Fri Nov 21 09:30:01 PST 1997
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>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("<HTML><HEAD>\n<TITLE>Apache Status</TITLE>\n</HEAD><BODY>\n", r);
rputs("<H1>Apache Server Status for ", r);
rvputs(r, server->server_hostname, "</H1>\n\n", NULL);
+ rvputs(r, "Server Version: ",SERVER_VERSION, "<br>\n", NULL);
+ rvputs(r, "Server Built: ",SERVER_BUILT, "<br>\n", NULL);
rvputs(r, "Current Time: ", asctime(localtime(&nowtime)), "<br>\n",
NULL);
rvputs(r, "Restart Time: ", asctime(localtime(&restart_time)), "<br>\n",
NULL);
%0
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]