Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 577201337B82 for ; Thu, 7 Apr 2011 17:51:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 34411-10 for ; Thu, 7 Apr 2011 20:51:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-px0-f174.google.com (mail-px0-f174.google.com [209.85.212.174]) by mail.postgresql.org (Postfix) with ESMTP id 98E521337C01 for ; Thu, 7 Apr 2011 17:51:09 -0300 (ADT) Received: by pxi15 with SMTP id 15so1427203pxi.33 for ; Thu, 07 Apr 2011 13:51:08 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.193.11 with SMTP id q11mr962053wff.355.1302209467114; Thu, 07 Apr 2011 13:51:07 -0700 (PDT) Received: by 10.68.59.42 with HTTP; Thu, 7 Apr 2011 13:51:07 -0700 (PDT) In-Reply-To: <4D9CF354.7050905@enterprisedb.com> References: <1302027038-sup-7674@alvh.no-ip.org> <4D9B5F3F.2080400@enterprisedb.com> <4D9B6418.50005@enterprisedb.com> <1302030161-sup-6379@alvh.no-ip.org> <4D9CF354.7050905@enterprisedb.com> Date: Thu, 7 Apr 2011 22:51:07 +0200 Message-ID: Subject: Re: developer FAQ From: Magnus Hagander To: Heikki Linnakangas Cc: Alvaro Herrera , Pg Docs Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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/59 X-Sequence-Number: 6630 On Thu, Apr 7, 2011 at 01:12, Heikki Linnakangas wrote: > On 06.04.2011 18:06, Magnus Hagander wrote: >> >> On Tue, Apr 5, 2011 at 21:04, Alvaro Herrera >> =A0wrote: >>> >>> Excerpts from Heikki Linnakangas's message of mar abr 05 14:48:56 -0400 >>> 2011: >>> >>>> 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 reposito= ry >>>> and navigate to that index.html, it renders fine. >>> >>> Possibly ... >> >> There is no /etc/mime.types, no. >> >> Is this supposed to be the one from apache? freebsd seems to stick it >> in /usr/local/etc/apache22/mime.types - but does gitweb use it >> natively somehow? > > Yes, gitweb reads /etc/mime.types. You can also set $mimetypes_file in th= e > config file to read from another location. I added: our $mimetypes_file =3D '/usr/local/etc/apache22/mime.types'; but it made no difference at all. --=20 =A0Magnus Hagander =A0Me: http://www.hagander.net/ =A0Work: http://www.redpill-linpro.com/