Infodrom Oldenburg

— cvsweb —

5.5.2004: Support for CGI-less execution cvsweb 3.0.0-1.1

The current version of cvsweb is not able to act CGI-less like it is configured on http://cvs.debian.org/ and http://cvs.infodrom.org/. It can only be used as /cgi-bin/cvsweb. This is unfortunate since not only viewcvs (Python) supported this but also the older version of cvsweb (Perl).

Fortunately, the required changes are only minimal:

  1. Don't turn zero / into one /, the rule was probably intended to reduce multiple slashes into only one. However, without the /cgi-bin/ component, there would not be one slash in the first place.
  2. Only apply the thttpd rule if the script is executed from within thttpd, and not from within Apache, for example.
  3. Only add /$where to the URL if $where is about, which is not the case when called without the /cgi-bin/ component
  4. Decode the Query string before splitting it by /;/ since ";" could be encoded as "%3b", which is the case for an Apache redirect if you don't request "noescape|NE"

Download: Patch, diff.gz, dsc, deb, changes.
27.7.2005: Support for CGI-less execution cvsweb 3.0.5-1

The current version of cvsweb is not able to act CGI-less like it is configured on http://cvs.debian.org/ and http://cvs.infodrom.org/. It can only be used as /cgi-bin/cvsweb. This is unfortunate since not only viewcvs (Python) supported this but also the older version of cvsweb (Perl).

Fortunately, the required changes are only minimal:

  1. Don't turn zero / into one /, the rule was probably intended to reduce multiple slashes into only one. However, without the /cgi-bin/ component, there would not be one slash in the first place.
  2. Only apply the thttpd rule if the script is executed from within thttpd, and not from within Apache, for example.
  3. Only add /$where to the URL if $where is about, which is not the case when called without the /cgi-bin/ component
  4. Decode the Query string before splitting it by /;/ since ";" could be encoded as "%3b", which is the case for an Apache redirect if you don't request "noescape|NE"

Download: Patch.