From owner-freebsd-cvsweb@FreeBSD.ORG Mon May 2 17:11:17 2005 Return-Path: Delivered-To: freebsd-cvsweb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AA19816A4CE for ; Mon, 2 May 2005 17:11:17 +0000 (GMT) Received: from smtp2.pp.htv.fi (smtp2.pp.htv.fi [213.243.153.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5874143D55 for ; Mon, 2 May 2005 17:11:17 +0000 (GMT) (envelope-from scop@FreeBSD.org) Received: from cs78130200.pp.htv.fi (cs78130200.pp.htv.fi [62.78.130.200]) by smtp2.pp.htv.fi (Postfix) with ESMTP id A3A99296BEF for ; Mon, 2 May 2005 20:11:15 +0300 (EEST) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@freebsd.org In-Reply-To: References: Content-Type: text/plain Organization: FreeBSD Date: Mon, 02 May 2005 20:11:14 +0300 Message-Id: <1115053874.16399.2.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Evolution 2.0.4 (2.0.4-4) Content-Transfer-Encoding: 7bit Subject: Re: Patch to add html download link. X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2005 17:11:17 -0000 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 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.