Resending patches for hgwebdir and hgweb, rebased to current crew and checked with all tests. First spreads configuration from webdir-conf to all hgweb instances and second resolves issue with absolute url in web.baseurl.