Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 891C51337BD4 for ; Tue, 5 Apr 2011 15:49:14 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 68668-04 for ; Tue, 5 Apr 2011 18:49:04 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from exprod7og107.obsmtp.com (exprod7og107.obsmtp.com [64.18.2.167]) by mail.postgresql.org (Postfix) with ESMTP id 8DD401337BD0 for ; Tue, 5 Apr 2011 15:49:03 -0300 (ADT) Received: from mail-ey0-f179.google.com ([209.85.215.179]) (using TLSv1) by exprod7ob107.postini.com ([64.18.6.12]) with SMTP ID DSNKTZtkHmMVlIcOzOxNIUgXfrWiOnSrmYHT@postini.com; Tue, 05 Apr 2011 11:49:04 PDT Received: by eyg5 with SMTP id 5so207334eyg.38 for ; Tue, 05 Apr 2011 11:49:01 -0700 (PDT) Received: by 10.213.111.13 with SMTP id q13mr379441ebp.31.1302029341311; Tue, 05 Apr 2011 11:49:01 -0700 (PDT) Received: from [192.168.1.183] (dsl-hkibrasgw2-ff7ac300-240.dhcp.inet.fi [88.195.122.240]) by mx.google.com with ESMTPS id y7sm4166266eeh.7.2011.04.05.11.48.58 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 05 Apr 2011 11:48:59 -0700 (PDT) Message-ID: <4D9B6418.50005@enterprisedb.com> Date: Tue, 05 Apr 2011 21:48:56 +0300 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.1.16) Gecko/20110307 Icedove/3.0.11 MIME-Version: 1.0 To: Pg Docs CC: Alvaro Herrera Subject: Re: developer FAQ References: <1302027038-sup-7674@alvh.no-ip.org> <4D9B5F3F.2080400@enterprisedb.com> In-Reply-To: <4D9B5F3F.2080400@enterprisedb.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201104/45 X-Sequence-Number: 6616 On 05.04.2011 21:28, Heikki Linnakangas wrote: > On 05.04.2011 21:13, Alvaro Herrera wrote: >> Hi, >> >> I just noticed that the developer's FAQ has this question with a link to >> the anoncvs cvsweb: >> http://wiki.postgresql.org/wiki/Developer_FAQ#How_is_the_source_code_organized.3F >> >> >> The link is >> http://anoncvs.postgresql.org/cvsweb.cgi/~checkout~/pgsql/src/tools/backend/index.html >> >> which no longer works. >> >> The equivalent file in Git seems to be this one: >> http://git.postgresql.org/gitweb?p=postgresql.git;a=blob;f=src/tools/backend/index.html;hb=HEAD >> >> >> However, this displays the raw HTML instead of having it be interpreted >> by the browser. Anyone knows how to change this? > > Oh, rats. I misunderstood your question, and changed the link to what > you posted because it seemed to work for me. It was only after I saved > that I realized what you meant - the link displays the html source, not > properly rendered html. > > Googling around for a solution... Hmm, is the /etc/mime.types file missing or somehow strange on that host? When I do "git instaweb" on my laptop in a clone of the repository and navigate to that index.html, it renders fine. However, none of the links work. They contain relative links like "../../backend/bootstrap", which doesn't work with the more complicated URL scheme that gitweb uses. How about we move this page to the wiki? It'd be more likely to get updated there too. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com