summaryrefslogtreecommitdiff
path: root/blob.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <johannes.schindelin@gmx.de>2016-05-09 07:59:16 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-05-10 10:27:42 -0700
commitf1f2b45be0a2b205fc07758e0f4e9c13e90d34d9 (patch)
tree4b11978f3ff68706f7fd223b9d0e778728d45f0b /blob.c
parenthttp: support sending custom HTTP headers (diff)
downloadtgif-f1f2b45be0a2b205fc07758e0f4e9c13e90d34d9.tar.xz
tests: adjust the configuration for Apache 2.2
Lars Schneider noticed that the configuration introduced to test the extra HTTP headers cannot be used with Apache 2.2 (which is still actively maintained, as pointed out by Junio Hamano). To let the tests pass with Apache 2.2 again, let's substitute the offending <RequireAll> and `expr` by using old school RewriteCond statements. As RewriteCond does not allow testing for *non*-matches, we simply match the desired case first and let it pass by marking the RewriteRule as '[L]' ("last rule, do not process any other matching RewriteRules after this"), and then have another RewriteRule that matches all other cases and lets them fail via '[F]' ("fail"). Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Tested-by: Lars Schneider <larsxschneider@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'blob.c')
0 files changed, 0 insertions, 0 deletions