From owner-freebsd-cvsweb@FreeBSD.ORG Tue May 3 18:18:37 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 9DB8B16A4D0 for ; Tue, 3 May 2005 18:18:37 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7583943D5C for ; Tue, 3 May 2005 18:18:34 +0000 (GMT) (envelope-from ubercoderus@gmail.com) Received: by rproxy.gmail.com with SMTP id j1so1104777rnf for ; Tue, 03 May 2005 11:18:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=sajqr86/dpijFMs/scdIGonznbrMcQDpbqe03QTTyw0zKe+roERm/ZnkNZ68vKPCw6SelxXHlTQjUawxdrzHbqNTl5HsRuWFRze6uGgSjKqZ7i53AhXVzmovUnCrQ188oSGvFjsipXrzTnmtnzeNte0uV5pNIdFbwsr/orE0VBg= Received: by 10.38.65.8 with SMTP id n8mr7753850rna; Tue, 03 May 2005 11:18:20 -0700 (PDT) Received: by 10.38.88.53 with HTTP; Tue, 3 May 2005 11:18:20 -0700 (PDT) Message-ID: Date: Tue, 3 May 2005 11:18:20 -0700 From: Allen Reese To: freebsd-cvsweb@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Re: Re: Patch to add html download link. X-BeenThere: freebsd-cvsweb@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Allen Reese List-Id: CVS Web maintenance mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 May 2005 18:18:37 -0000 Date: Mon, 02 May 2005 20:11:14 +0300 From: VilleSkytt? 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. :)