cvsweb error in conf - help requested
VilleSkyttä
scop at FreeBSD.org
Wed Jul 23 14:25:29 PDT 2003
On Sat, 2003-07-12 at 00:04, jml at bubel.com wrote:
> Hello all,
>
> I am trying to get cvsweb running on FreeBSD and getting this error:
>
> Error: $cvstreedefault points to a repository (local) not defined in
> %CVSROOT (edit your configuration file /etc/cvsweb.conf)
>
> And I am certain my conf file is correct (attached below), I have used
> cvsweb on Debian linux and never had this issue. I can't find anything
> that should be preventing this from working, any help would be greatly
> appreciated. The path to the cvsroot is correct as listed, I am
> completely confounded, as this has never been an issue, after two days of
> banging my head I am groveling for help. ;)
I don't see anything obviously wrong with you setup. The only logical
explanation I can come up offhand with is that /home/developer/cvsroot
might not be a directory (is it a symlink?).
What does the following command print when run it as the user that runs
cvsweb.cgi (ie. your web server):
perl -e 'print -d "/home/developer/cvsroot" ? "yep" : "no", "\n"'
> # 'symbolic_name' => ['name_to_display', 'path_to_the_actual_repository']
> # Listed in the order specified:
> @CVSrepositories = (
> 'local' => ['Local Repository', '/home/developer/cvsroot'],
> # 'freebsd' => ['FreeBSD', '/home/ncvs'],
> # 'openbsd' => ['OpenBSD', '/home/ncvs'],
> # 'netbsd' => ['NetBSD', '/home/ncvs'],
> # 'ruby' => ['Ruby', '/var/anoncvs/ruby'],
> );
--
\/
More information about the freebsd-cvsweb
mailing list