diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2006-07-28 14:07:42 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2006-07-28 14:07:42 +0000 |
commit | cf5631b4012bf986506a846303c377d55524d69b (patch) | |
tree | 19940e0ddebbc95e557fb412a5f9fb8545014463 /usr.sbin/httpd | |
parent | 86417b59abd0252cdcfc6e7d50a0466145bbfaa2 (diff) |
avoid printing the server built date
Diffstat (limited to 'usr.sbin/httpd')
-rw-r--r-- | usr.sbin/httpd/src/modules/example/mod_example.c | 2 | ||||
-rw-r--r-- | usr.sbin/httpd/src/modules/standard/mod_info.c | 3 | ||||
-rw-r--r-- | usr.sbin/httpd/src/modules/standard/mod_status.c | 2 |
3 files changed, 0 insertions, 7 deletions
diff --git a/usr.sbin/httpd/src/modules/example/mod_example.c b/usr.sbin/httpd/src/modules/example/mod_example.c index 80ca46a0276..7830c4dfed7 100644 --- a/usr.sbin/httpd/src/modules/example/mod_example.c +++ b/usr.sbin/httpd/src/modules/example/mod_example.c @@ -542,8 +542,6 @@ static int example_handler(request_rec *r) ap_rputs(" <P>\n", r); ap_rprintf(r, " Apache HTTP Server version: \"%s\"\n", ap_get_server_version()); - ap_rputs(" <BR>\n", r); - ap_rprintf(r, " Server built: \"%s\"\n", ap_get_server_built()); ap_rputs(" </P>\n", r); ap_rputs(" <P>\n", r); ap_rputs(" The format for the callback trace is:\n", r); diff --git a/usr.sbin/httpd/src/modules/standard/mod_info.c b/usr.sbin/httpd/src/modules/standard/mod_info.c index 8f0575ef6cb..3d09421bacd 100644 --- a/usr.sbin/httpd/src/modules/standard/mod_info.c +++ b/usr.sbin/httpd/src/modules/standard/mod_info.c @@ -471,9 +471,6 @@ static int display_info(request_rec *r) ap_rprintf(r, "<a name=\"server\"><strong>Server Version:</strong> " "<font size=+1><tt>%s</tt></a></font><br>\n", ap_get_server_version()); - ap_rprintf(r, "<strong>Server Built:</strong> " - "<font size=+1><tt>%s</tt></a></font><br>\n", - ap_get_server_built()); ap_rprintf(r, "<strong>API Version:</strong> " "<tt>%d:%d</tt><br>\n", MODULE_MAGIC_NUMBER_MAJOR, MODULE_MAGIC_NUMBER_MINOR); diff --git a/usr.sbin/httpd/src/modules/standard/mod_status.c b/usr.sbin/httpd/src/modules/standard/mod_status.c index f801e61eba9..f6a883ef8c5 100644 --- a/usr.sbin/httpd/src/modules/standard/mod_status.c +++ b/usr.sbin/httpd/src/modules/standard/mod_status.c @@ -325,8 +325,6 @@ static int status_handler(request_rec *r) ap_rvputs(r, ap_get_server_name(r), "</H1>\n\n", NULL); ap_rvputs(r, "Server Version: ", ap_get_server_version(), "<br>\n", NULL); - ap_rvputs(r, "Server Built: ", - ap_get_server_built(), "<br>\n<hr>\n", NULL); ap_rvputs(r, "Current Time: ", ap_ht_time(r->pool, nowtime, DEFAULT_TIME_FORMAT, 0), "<br>\n", NULL); ap_rvputs(r, "Restart Time: ", |