$ strings /usr/lib/apache2/modules/mod_pagespeed.so \ | grep "mod_pagespeed/[0-9]\.[0-9]" mod_pagespeed/w.x.y.z $ strings /usr/lib/apache2/modules/mod_ssl.so \ | grep "mod_ssl/[0-9]\.[0-9]" mod_ssl/x.y.x
Friday, October 30, 2015
Find out apache module version
It took me sometime to find out a way to determine the version number of any apache module. Basically the 'strings' command can extract the existing strings in the shared library and with grep we can use the regex "${mod_name}/[0-9]\.[0-9]" where mod_name is a variable containing the name of the module. I am omitting the real version numbers below for security reasons:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment