5a4e07ea3a1cc5bfa59355e19428a602a1c28db8
[userv-utils] / git-daemon / git-urlmap
1 # Each line is one of:
2 #
3 # single-user <vhost>[/<vsubpath>] <user> [<directory>]
4 # matching requests will be handled by <user>
5 # and unless overridden by <user> handled by
6 # serving subdirectories of <directory>
7 #
8 # multi-user <vhost>[/<vsubpath>] <directory>
9 # matching requests are only those those next
10 # path element starts with ~<user>. The
11 # request will be handled by <user> and unless
12 # overridden by <user> will be handled by
13 # serving subdirectories of <directory>
14 # (<directory> must be a relative path)
15 #
16 # repo-regexp <regexp>
17 # For per-user service. Subrepos must match this
18 # regexp, which must contain a single matching
19 # group which is the filesystem pathname inside
20 # the <directory>. The default is (Tcl syntax):
21 # repo-regexp ^(w[-+._0-9A-Za-z]*/?\.git)$
22 #
23 # [no-]require-git-daemon-export-ok
24 # For per-user service. Default is no-.
25 #
26 # Last match, or last setting, wins.
27 # <vsubpath>s may start with ~
28
29 # here is an example, taken from chiark:
30 #
31 # single-user dotat.at fanf dotat-git
32 # single-user git.chiark.greenend.org.uk webmaster /u2/git-repos
33 #
34 # multi-user cabal.greenend.org.uk cabal-git
35 # multi-user git.chiark.greenend.org.uk public-git