On 06.04.2011 18:06, Magnus Hagander wrote:
> On Tue, Apr 5, 2011 at 21:04, Alvaro Herrera<alvherre@commandprompt.com> wrote:
>> 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 repository
>>> 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
the config file to read from another location.
(but as discussed, all the links will be broken even if we get that one
html file to display correctly)
--
Heikki Linnakangas
EnterpriseDB http://www.enterprisedb.com