Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2005 11:18:20 -0700
From:      Allen Reese <ubercoderus@gmail.com>
To:        freebsd-cvsweb@freebsd.org
Subject:   Re: Re: Patch to add html download link.
Message-ID:  <a7ae16fa05050311185baede4a@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Date: Mon, 02 May 2005 20:11:14 +0300
From: VilleSkytt?<scop@FreeBSD.org>
Subject: Re: Patch to add html download link.
To: freebsd-cvsweb@freebsd.org
Message-ID: <1115053874.16399.2.camel@bobcat.mine.nu>
Content-Type: text/plain

>On Thu, 2005-04-28 at 15:17 -0700, Allen Reese wrote:

>> I store html files in a cvs repository that we access via cvsweb.  I
>> find myself downloading the html file to open it in a web browser, or
>> changing the link that I clicked on so I can just display the html
>> file straight from cvsweb.

>Just clicking the "download" link should result it being sent as
>text/html assuming you have it configured so in cvsweb.conf (which is by
>default set up to do that).  See for example the *.html files at
>http://cvs.fedora.us/cgi-bin/cvsweb.cgi/docs/

>Which version of cvsweb are you running?

I'm not sure.  I'll pester our admins to fix the cvsweb.conf.  I bet
they just configured it wrong.

>> I got sick of it and wrote a patch to get around this today.  ;)
>>
>> The patch adds a html link between text & markup that passes the
>> mimetype as text/html.

>That doesn't make much sense for files other than HTML.

Yes you're right there.  :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a7ae16fa05050311185baede4a>