From 4a2b1544dc81ceee8e1ad5de737f8df46bd58882 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 22 Feb 2010 16:08:00 +0100 Subject: [PATCH] lighttpd: Add configuration for hgweb. For some unknown reason, this configuration has never made it into git and somehow disappeared. --- etc/lighttpd/vhosts/stderr-nl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/etc/lighttpd/vhosts/stderr-nl b/etc/lighttpd/vhosts/stderr-nl index 0d6b94b..5c0e7ef 100644 --- a/etc/lighttpd/vhosts/stderr-nl +++ b/etc/lighttpd/vhosts/stderr-nl @@ -16,6 +16,13 @@ $HTTP["host"] =~ ".stderr.nl$" { } } + $HTTP["host"] =~ "hg.stderr.nl$" { + # Let all of hg.stderr.nl be handled by hgweb, since it also + # takes care of clone / pull requests. + cgi.assign += ( "hgwebdir.cgi" => "" ) + alias.url += ( "" => "/usr/local/lib/cgi-bin/hgwebdir.cgi" ) + } + $HTTP["host"] =~ "blues.stderr.nl$" { auth.backend = "htpasswd" auth.backend.htpasswd.userfile = var.site-dir + "/conf/pandora2009.user" -- 2.30.2