httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@pobox.com>
Subject Re: version stuff in Host header and mod_perl!?
Date Thu, 28 Jan 1999 18:45:27 GMT
At 11:54 AM 1/28/99 +0100, Ralf S. Engelschall wrote:
>
>I've currently observed that mod_perl's version id is put
>_before_ Apache's id in the Host header:
>
>Server: mod_perl/1.18 Apache/1.3.4 (Unix) mod_ssl/2.2.0 OpenSSL/0.9.1c
DAV/0.9.5
>
>Doug, is this a bug in mod_perl or in our version stuff of Apache?

uuh, on third thought... ap_add_version_component is only called here if
mod_perl/x.xx is not already part of the version string and the first 7
characters of the version string are "Apache/"

    const char *ap_v = ap_get_server_version();

#if MODULE_MAGIC_NUMBER >= 19980507
    if (!strstr(ap_v, MOD_PERL_STRING_VERSION) && strnEQ(ap_v,"Apache/",7)) {
        ap_add_version_component(MOD_PERL_STRING_VERSION);
     }
#endif

however, mod_perl/x.xx still ends up before Apache/x.x.x in the Server: header
any diagnosis, Dr. Cosmetics? ;)

-Doug


Mime
View raw message