[Koha-bugs] [Bug 13486] About page Apache version is empty if Apache version is 2.4

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 6 19:56:33 CET 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13486

Jerry Weng <chenyi.weng at techyi.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |In Discussion

--- Comment #11 from Jerry Weng <chenyi.weng at techyi.com> ---
Indeed, using "-v (lower case)" instead of "-V (upper case)" to get the Apache
version information is better and should be faster. 

But I would keep the [0] part to extract only the needed Apache version info.,
especially the 'uname -a' is already there, and the "Server built:" time is
meaningless in apt-get installed package.  

> $apacheVersion = (`/usr/sbin/apache2ctl -v`)[0] unless $apacheVersion;

Regards,

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list