wrong apache version shown from $_SERVER['SERVER_SOFTWARE'] on Fedora 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I installed F7 and then upgraded to

[zenkato@m5n ~]$ uname -ipr
2.6.22.5-76.fc7 i686 i386
[zenkato@m5n ~]$ httpd -v
Server version: Apache/2.2.6 (Unix)
Server built:   Sep 18 2007 09:40:44

When I did:

apache-version.php
==================
<?php
echo apache_get_version();
echo "<br />";
echo $_SERVER['SERVER_SOFTWARE'];
?>

http://localhost/apache-version.php
-----------------------
Apache/2.2.0 (Fedora)
Apache/2.2.0 (Fedora)
------------------------

$_SERVER['SERVER_SOFTWARE'] always shows:

Apache/2.2.0 (Fedora)

/var/log/httpd/error_log shows as follows:

[Fri Sep 21 22:54:16 2007] [notice] Apache/2.2.6 (Unix) 
DAV/2 mod_auth_kerb/5.3 mod_ssl/2.2.6 OpenSSL/0.9.8b 
Apache/2.2.0 (Fedora) PHP/5.2.4 mod_python/3.3.1 
Python/2.5 mod_apreq2-20051231/2.6.1 mod_perl/2.0.3 Perl/v5.8.8 
configured -- resuming normal operations

There are two Apache versions such as Apache/2.2.6 (Unix) and
Apache/2.2.0 (Fedora) which comes from 'httpd start'.

I would like to correct this phenomenon, but how should
I do?

Regards,

Zen

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux