diff options
author | Jeff Trawick <trawick@apache.org> | 2006-09-05 15:08:15 +0200 |
---|---|---|
committer | Jeff Trawick <trawick@apache.org> | 2006-09-05 15:08:15 +0200 |
commit | 743a621e8d97c218c829cb603a3fbde265406ed8 (patch) | |
tree | 4ec6ec328ab5551cfa2e9f2e4b8e0d2a651b9fd4 /modules/ssl/ssl_engine_vars.c | |
parent | * Extract stickysession information correctly in the case that it is given (diff) | |
download | apache2-743a621e8d97c218c829cb603a3fbde265406ed8.tar.xz apache2-743a621e8d97c218c829cb603a3fbde265406ed8.zip |
Replace ap_get_server_version with ap_get_server_banner() and
ap_get_server_description().
High-level summary:
The full server version information is now included in the error log at
startup as well as server status reports, irrespective of the setting
of the ServerTokens directive.
Third-party modules must now use ap_get_server_banner() or
ap_get_server_description() in place of ap_get_server_version().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@440337 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'modules/ssl/ssl_engine_vars.c')
-rw-r--r-- | modules/ssl/ssl_engine_vars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ssl/ssl_engine_vars.c b/modules/ssl/ssl_engine_vars.c index b54a5ccb62..9617f6d6b2 100644 --- a/modules/ssl/ssl_engine_vars.c +++ b/modules/ssl/ssl_engine_vars.c @@ -192,7 +192,7 @@ char *ssl_var_lookup(apr_pool_t *p, server_rec *s, conn_rec *c, request_rec *r, if (strlen(var) > 12 && strcEQn(var, "SSL_VERSION_", 12)) result = ssl_var_lookup_ssl_version(p, var+12); else if (strcEQ(var, "SERVER_SOFTWARE")) - result = ap_get_server_version(); + result = ap_get_server_banner(); else if (strcEQ(var, "API_VERSION")) { result = apr_itoa(p, MODULE_MAGIC_NUMBER); resdup = FALSE; |