# Mercurial (hg) # $HTTP["host"] =~ "hg$" { cgi.assign = ( ".cgi" => "/usr/bin/python" ) server.document-root = "/home/hg/share/" url.rewrite-once = ( "(.*)" => "/hgwebdir.cgi$1" ) }