lib-httpd/apache.conf: check version only after mod_version loads
commit5bdc47eb55aabef3720039181fc360499081a29f
authorJeff King <peff@peff.net>
Fri, 21 Jun 2013 18:12:51 +0000 (21 14:12 -0400)
committerJunio C Hamano <gitster@pobox.com>
Fri, 21 Jun 2013 20:58:06 +0000 (21 13:58 -0700)
tree0dc3e55d161a89fd9c8789ff25c4ed7be734d5d2
parent296f0b3ea9b904982780522215a9c71d4a7bd02c
lib-httpd/apache.conf: check version only after mod_version loads

Commit 0442743 introduced an <IfVersion> directive near the
top of the apache config file. However, at that point we
have not yet checked for and loaded the mod_version module.
This means that the directive will behave oddly if
mod_version is dynamically loaded, failing to match when it
should.

We can fix this by moving the whole block below the
LoadModule directive for mod_version.

Reported-by: Brian Gernhardt <brian@gernhardtsoftware.com>
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/lib-httpd/apache.conf