Skip to content

Commit 4e51984

Browse files
committed
Merge branch 'bw/protocol-v1'
Test fix for a topic already in 'master'. * bw/protocol-v1: http: fix v1 protocol tests with apache httpd < 2.4
2 parents 14c84cd + a812952 commit 4e51984

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

t/lib-httpd/apache.conf

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ ErrorLog error.log
2525
<IfModule !mod_headers.c>
2626
LoadModule headers_module modules/mod_headers.so
2727
</IfModule>
28+
<IfModule !mod_setenvif.c>
29+
LoadModule setenvif_module modules/mod_setenvif.so
30+
</IfModule>
2831

2932
<IfVersion < 2.4>
3033
LockFile accept.lock
@@ -67,9 +70,6 @@ LockFile accept.lock
6770
<IfModule !mod_unixd.c>
6871
LoadModule unixd_module modules/mod_unixd.so
6972
</IfModule>
70-
<IfModule !mod_setenvif.c>
71-
LoadModule setenvif_module modules/mod_setenvif.so
72-
</IfModule>
7373
</IfVersion>
7474

7575
PassEnv GIT_VALGRIND
@@ -79,9 +79,7 @@ PassEnv ASAN_OPTIONS
7979
PassEnv GIT_TRACE
8080
PassEnv GIT_CONFIG_NOSYSTEM
8181

82-
<IfVersion >= 2.4>
83-
SetEnvIf Git-Protocol ".*" GIT_PROTOCOL=$0
84-
</IfVersion>
82+
SetEnvIf Git-Protocol ".*" GIT_PROTOCOL=$0
8583

8684
Alias /dumb/ www/
8785
Alias /auth/dumb/ www/auth/dumb/

0 commit comments

Comments
 (0)