=================================================================== RCS file: /cvs/cvsweb/cvsweb.cgi,v retrieving revision 1.5 retrieving revision 1.6 diff -u -p -r1.5 -r1.6 --- cvsweb/cvsweb.cgi 1997/03/20 01:36:20 1.5 +++ cvsweb/cvsweb.cgi 1997/04/30 07:35:11 1.6 @@ -475,12 +475,12 @@ if (-d $fullname) { # Is there an indexed version of modules? if (open(MODULES, "$cvsroot/CVSROOT/modules")) { while () { - if (/^${where}\s+(\S+)/o && -d "${cvsroot}/$1") { + if (/^${where}\s+(\S+)/o && -d "${cvsroot}/$1" && ($1 ne $where)) { &redirect($scriptname . '/' . $1 . $xtra); } } } - &fatal("404 Not Found","$where: no such file or directory"); + &fatal("404 Not Found","$where$xtra: no such file or directory"); } sub htmlify {