Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2029 cvsweb.cgi download error

1.190
closed
Jamie Cameron
CVS Server (7)
5
2005-04-05
2005-04-05
barrettc
No

I'm running Fedora Core 3 with Webmin 1.190.

When browsing the CVS repository, I get an error in a
separate pop up window from cvsweb.cgi whenever I try
to "download" a file:

Error: Unexpected output from cvs co: cvs [checkout
aborted]: Absolute module reference invalid:
`/app/README.txt'

Check whether the directory /usr/local/cvsroot/CVSROOT
exists and the script has write-access to the
CVSROOT/history file if it exists.
The script needs to place lock files in the directory
the file is in as well.

After searching Google, I found this patch that I
applied and now everything works:

$doCheckout = ($where =~ /^\/$checkoutMagic/);
$where =~ s|^/($checkoutMagic)?||;
$where =~ s|/+$||;
+$where =~ s|^/+||;
($scriptname = $ENV{'SCRIPT_NAME'}) =~ s|^/?|/|;
$scriptname =~ s|/+$||;
if ($where) {

Discussion

  • Jamie Cameron
    Jamie Cameron
    2005-04-05

    • status: open --> closed
     
  • Jamie Cameron
    Jamie Cameron
    2005-04-05

    Logged In: YES
    user_id=129364

    Thanks for that patch - I will include it in the next Webmin
    release.