Am 06.08.2015 um 12:38 schrieb Stefan Sperling:
On Thu, Aug 06, 2015 at 12:27:48PM +0200, Stefan Sperling wrote:
On Thu, Aug 06, 2015 at 12:13:07PM +0200, Rainer Jung wrote:
But still the command does not do what was intended. It will return (example)

   Server version: Apache/2.4.4 (Unix)

instead of the expected

   2.4.4

This is so tricky to get right.

I know.

Can't httpd provide an easier way to get its version number?
At least in future relases? Please? :)

We should ;)

Also note that svn trunk already has a different implementation
of this check. See the following revisions:

http://svn.apache.org/r1693135
http://svn.apache.org/r1693138
http://svn.apache.org/r1693159

I saw that and included a short reference to it at the beginning of my original mail. The suggested pattern change is only relevant, if you don't want to backport the trunk implementation to 1.9+1.8+1.7.

Thanks a bunch,

Rainer

Reply via email to