Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2003 23:37:47 +0200
From:      Ville =?ISO-8859-1?Q?Skytt=E4?= <scop@FreeBSD.org>
To:        freebsd-cvsweb@FreeBSD.org
Subject:   Re: diff crashes under mod_perl
Message-ID:  <1072129067.25251.179.camel@bobcat.mine.nu>
In-Reply-To: <3FD8F532.2060302@alternation.net>
References:  <3FD8F532.2060302@alternation.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2003-12-12 at 00:52, Brian Cassidy wrote:

> I'm using the most recent cvsweb beta. Apache 2.0.48. perl 5.8.0. 
> mod_perl 1.99_10.

Hm, I have the same setup, except Perl 5.8.1 and mod_perl 1.99_09.

> Viewing a diff produces the following entry in the apache error_log:

Did the diff still appear correctly in the browser?

> [Thu Dec 11 18:52:53 2003] [error] 14871: ModPerl::Registry: $r wasn't 
> passed at /home/httpd/cvs/cvs.cgi line 2238.

I cannot reproduce that.  Line 2238 in 2.9.1 contains
"openOutputFilter()", which should be a no-op unless you have
$output_filter defined in cvsweb.conf.  I couldn't reproduce the error
even when setting up a trivial output filter like

  $output_filter= '/usr/bin/tr "[a-zA-Z]" "_"';

Could you check if you have $output_filter set and if you need it, and
whether disabling it affects this?  I'll try to upgrade my mod_perl
soonish...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1072129067.25251.179.camel>