# Configuration file for the userv git daemon.
#
# This was written by Tony Finch <dot@dotat.at>
# You may do anything with it, at your own risk.
# http://creativecommons.org/publicdomain/zero/1.0/

# The userv git daemon supports URLs of the forms:
#	git://HOSTNAME/REPO.git
#	git://HOSTNAME/~TILDE/REPO.git

# The vhost_default_user hash specifies what user handles git requests
# for each virtual host, if the URL does not have a tilde part, or if
# the virtual host does not appear in the vhost_user_from_tilde hash.
# If a virtual host does not appear in this hash then URLs without a
# tilde part are forbidden for that virtual host.

%vhost_default_user = (
	'dotat.at' => 'fanf',
);

# The vhost_user_from_tilde hash lists which virtual hosts allow the
# tilde part to specify the user that should handle the request. If a
# virtual host is not present in this hash then its default user
# handles all requests. If a virtual host is not present in either map
# then no requests are permitted.

%vhost_user_from_tilde = (
	'chiark.greenend.org.uk' => 1,
);

# end
