From owner-freebsd-cvsweb@FreeBSD.ORG Tue Jan 27 23:22:43 2004 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 0B78416A4CF for ; Tue, 27 Jan 2004 23:22:43 -0800 (PST) Received: from smtp3.pp.htv.fi (smtp3.pp.htv.fi [213.243.153.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D9A343D45 for ; Tue, 27 Jan 2004 23:22:34 -0800 (PST) (envelope-from scop@FreeBSD.org) Received: from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by smtp3.pp.htv.fi (Postfix) with ESMTP id 1C4F527BD26 for ; Wed, 28 Jan 2004 09:22:33 +0200 (EET) Received: from [62.78.131.215] (cs78131215.pp.htv.fi [62.78.131.215]) /8.11.1) with ESMTP id i0S7MWb15547 for ; Wed, 28 Jan 2004 09:22:32 +0200 (EET) From: Ville =?ISO-8859-1?Q?Skytt=E4?= To: freebsd-cvsweb@FreeBSD.org In-Reply-To: <20040127.183104.5165.714377@webmail03.lax.untd.com> References: <20040127.183104.5165.714377@webmail03.lax.untd.com> Content-Type: text/plain Organization: FreeBSD Message-Id: <1075274552.31017.86.camel@bobcat.mine.nu> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 (1.4.5-7) Date: Wed, 28 Jan 2004 09:22:32 +0200 Content-Transfer-Encoding: 7bit Subject: Re: newbie question for cvsweb install on linux 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: Wed, 28 Jan 2004 07:22:43 -0000 On Wed, 2004-01-28 at 04:31, tschus@juno.com wrote: > o/s = bsd 5.2 > perl = This is perl, v5.6.1 built for i386-freebsd Hm, the subject says Linux but it's actually FreeBSD you're working with? CVSweb is in the FreeBSD ports collection, maybe it'd be easier to install it that way. > There is a file cvsweb.conf-freebsd that I cannot figure out what it > for and what to do with it. the install directions do not mention it. Just ignore it, it's an example configuration snippet primarily meant for use by cvsweb.freebsd.org or a local FreeBSD CVS mirror. > Copy cvsweb.cgi to the cgi script location of your web server. > Did that cp cvsweb.cgi /home/apache/conf That's most likely the configuration directory of your Apache, not the CGI script dir. The correct dir is usually called "cgi-bin", in your case maybe /home/apache/cgi-bin. Check your httpd.conf. > for ("$mydir/cvsweb.conf", ... > > What would be the proper example for this line if I did a default > install of apache 2.x at /home/apache. $mydir is the directory where cvsweb.cgi is located. I would suggest putting cvsweb.conf it somewhere else though, check the other places near "$mydir/cvsweb.conf" where it's looked from. > My main problem right now is that I get an error when trying to run > the cvsweb.cgi script > http://localhost/cgi-bin/cvsweb.cgi > > Premature end of script headers: cvsweb.cgi Any other messages in the Apache error log? Does the user running the web server have execute permission to cvsweb.cgi and read access to cvsweb.conf? > If I try to run it manually with perl it bails since -wT does not seem > to work anymore in the newer versions of perl > > Too late for "-T" option at cvsweb.cgi line 1. Do a "perl -wTc cvsweb.cgi", -T should work with CVSweb 2.0.6 and Perl 5.6.1, there are known problems with 5.8.0 and later which have been fixed in the CVSweb beta versions.