Skip to content

Commit

Permalink
Merge branch 'bw/protocol-v1'
Browse files Browse the repository at this point in the history
Test fix for a topic already in 'master'.

* bw/protocol-v1:
  http: fix v1 protocol tests with apache httpd < 2.4
  • Loading branch information
gitster committed Jan 9, 2018
2 parents 14c84cd + a812952 commit 4e51984
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions t/lib-httpd/apache.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ ErrorLog error.log
<IfModule !mod_headers.c>
LoadModule headers_module modules/mod_headers.so
</IfModule>
<IfModule !mod_setenvif.c>
LoadModule setenvif_module modules/mod_setenvif.so
</IfModule>

<IfVersion < 2.4>
LockFile accept.lock
Expand Down Expand Up @@ -67,9 +70,6 @@ LockFile accept.lock
<IfModule !mod_unixd.c>
LoadModule unixd_module modules/mod_unixd.so
</IfModule>
<IfModule !mod_setenvif.c>
LoadModule setenvif_module modules/mod_setenvif.so
</IfModule>
</IfVersion>

PassEnv GIT_VALGRIND
Expand All @@ -79,9 +79,7 @@ PassEnv ASAN_OPTIONS
PassEnv GIT_TRACE
PassEnv GIT_CONFIG_NOSYSTEM

<IfVersion >= 2.4>
SetEnvIf Git-Protocol ".*" GIT_PROTOCOL=$0
</IfVersion>
SetEnvIf Git-Protocol ".*" GIT_PROTOCOL=$0

Alias /dumb/ www/
Alias /auth/dumb/ www/auth/dumb/
Expand Down

0 comments on commit 4e51984

Please sign in to comment.