Mike's Pub -> Discussion Corner -> Support Forum for CVSNotice

 Diffrent targets from cvslist.php to cvsweb.cgi [ Reply ] [ Back to Index ] Top Bottom

Author : Christoph Schwaeppe
Date: 2003/03/07 20:33

Is there any chance to use more than one of the following definitions in cvsweb.cgi from
cvslist.php?

@CVSrepositories = (
#	'freebsd' => ['FreeBSD',          '/home/ncvs'],
#	'openbsd' => ['OpenBSD',          '/home/ncvs'],
#	'netbsd'  => ['NetBSD',           '/home/ncvs'],
#	'ruby'    => ['Ruby',      '/var/anoncvs/ruby'],
);

Every time I activate here more than one entry, I'm able to select diffrent entries from
cvsweb.cgi, but I can't call them from cvslist.php. cvslist.php is creating a link like
http://www.url.org/cgi/cvsweb.cgi/module, but cvsweb.cgi tells 'module: no such file or
directory'

Thank You, for Your excelent script :)

 Re: Diffrent targets from cvslist.php to cvsweb.cgi [ Reply ] [ Back to Index ] Top Bottom

Author : Mike
Date: 2003/03/10 18:00

There is no real magic involved in creating the link to ViewCVS - all it does is use the
$viewcvs variable and add $filt to it. And for directories, that $filt is nothing else
than the $dir part in your CVS notices (cfr. previous post). :)

So you should compare the links that this scripts generates (using $viewcvs$filt) with
what cvsweb.cgi expects in your configuration, and perhaps add 'freebsd' or whatever at
the end of the $viewcvs variable. The exact change to make will depend on your cvsweb.cgi
installation...

 Reply [ Back to Index ] Top Bottom
Name :
E-mail : (optional)
Subject :
Message :
MathGuard security question: 6 + 2 =
 

Mike's Pub -> Discussion Corner -> Support Forum for CVSNotice