perl-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <>
Subject getting httpd-equivalent version numbers from servers with non-standard version strings
Date Sun, 01 Dec 2013 17:06:13 GMT
httpd_version() in calls "httpd -v" to get the version
string, and it needs to find "Apache/x.y.z" in the right place so that
other code will be happy.  (E.g., need_min_apache_version and
need_apache_version in

Servers based on Apache httpd may not say "Apache" at all there, and may
not use the httpd version string anyway.

What would be an appropriate way to override the automatically-determined
version when testing with a server based on Apache httpd but without a
version string that is parseable with the current logic?


or -httpd_ver "Apache/2.2.19" (and have ApacheTest users pass that
down somehow)


(something else)

Thanks for any hints!

Born in Roswell... married an alien...

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message