With Apache 2.0.40 (p/o Red Hat Linux 9), if I specify
ServerTokens Prod[uctOnly]|Min[imal]|OS|Full
this generates the expected 'Server:' line in the HTTP response header.
But if I specify either,
ServerTokens Major|Minor
the effect is the same as specifying
ServerTokens Full
For example, if I specify
ServerTokens Major
and restart the Apache server, here's what the server sends when when I
issue an HTTP request:
<example>
[me]$ lynx -mime_header
http://localhost/index.html
HTTP/1.1 200 OK
Date: Wed, 09 Jul 2003 05:01:36 GMT
Server: Apache/2.0.40 (Red Hat Linux) mod_perl/1.99_07-dev Perl/v5.8.0
PHP/4.2.2 mod_python/3.0.1 Python/2.2.2 mod_ssl/2.0.40 OpenSSL/0.9.7a DAV/2
Last-Modified: Wed, 09 Jul 2003 04:56:43 GMT
ETag: "645e4-13e-2a70f8c0"
Accept-Ranges: bytes
Content-Length: 318
Connection: close
Content-Type: text/html; charset=ISO-8859-1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN
"http://www.w3.org/TR/html4/loose.dtd"">
<HTML>
<HEAD>
<TITLE>Test Page</TITLE>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="GENERATOR" content="Quanta Plus">
</HEAD>
<BODY>
<P>Hello, World!</P>
</BODY>
</HTML>
</example>
AFAICT from the Apache 2.0 documentation,
http://httpd.apache.org/docs-2.0/mod/core.html#servertokens
the 'Server:' line in this example /should/ read,
Server: Apache/2
I ran some Bugzilla queries on this at
http://nagoya.apache.org/bugzilla/query.cgi
but I didn't find anything. So if someone else can: a) observe this same
behavior with the latest-and-greatest Apache release, and b) confirm
this is a bug, then I'll submit a bug report on it.
--
Jim
To reply by email, remove "link" and change "now.here" to "yahoo"
jfischer_link5809{at}now.here.com