1 # chiark's configuration for the userv git daemon.
3 # This was written by Tony Finch <dot@dotat.at>
4 # You may do anything with it, at your own risk.
5 # http://creativecommons.org/publicdomain/zero/1.0/
7 if ($host eq 'git.chiark.greenend.org.uk') {
8 if ($path =~ m{^~([^/]*)/(.*)}) {
10 $dir = '.userv/public-git';
14 $dir = '/u2/git-repos';
17 } elsif ($server_addr eq '172.31.80.8' and
18 $host eq 'cabal.greenend.org.uk' and
19 $path =~ m|^~([^/]*)/(.*)$|) {
23 } elsif ($host eq 'dotat.at') {