www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From M.D.Parker <m...@netcom.com>
Subject mod_status/1448: Status Information should display server version and build date
Date Fri, 21 Nov 1997 17:26:13 GMT

>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
>Originator:     mdpc@netcom.com
>Release:        1.3b3
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.
*** 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",
        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",
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message