1 fix for cases when SCRIPT_NAME is empty, ie the cvsweb script is handler to whole vhost:
6 DocumentRoot /usr/share/cvsweb/cvsweb.cgi
12 --- cvsweb-3.0.6/cvsweb.cgi 2006-01-09 23:56:57.000000000 +0200
13 +++ /tmp/cvsweb.cgi 2006-01-10 00:59:36.000000000 +0200
16 $doCheckout = $where =~ s|^/$CheckoutMagic/|/|o;
18 -$scriptname =~ s|^/*|/|;
19 +$scriptname =~ s|^/*|/| if $scriptname;
21 # Let's workaround thttpd's stupidity..
22 if ($scriptname =~ m|/$|) {