You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by "Ralf S. Engelschall" <rs...@engelschall.com> on 1999/03/23 17:28:57 UTC
Re: version stuff in Host header and mod_perl!?
In article <19...@hyperreal.org> you wrote:
> 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? ;)
Ops, I've missed this posting and now even with 1.3.6 we still have:
Server: mod_perl/1.18 Apache/1.3.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.2b DAV/0.9.7
Why to the hell is it occuring before Apache/1.3.6.
Interesting. BTW, all modules on this box are DSOs!
So where the difference between mod_dav/mod_ssl and mod_perl, here....?
Ralf S. Engelschall
rse@engelschall.com
www.engelschall.com
Re: version stuff in Host header and mod_perl!?
Posted by Doug MacEachern <do...@cp.net>.
btw, this is fixed now in the modperl cvs tree.
-Doug