[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Apache's CGI-Wrap "warn" bug
- Subject: [cobalt-users] Apache's CGI-Wrap "warn" bug
- From: Alfredo <alfredo@xxxxxxxxxxxxxxx>
- Date: Mon Jan 29 06:51:03 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
A couple of months ago, Marc Landtwing and I were going back and
forth on this problem here on the list. Marc finally excavated the
reason for the problem and a possible solution but it seems to be for
MIPS and I find nothing for Raq3.
Problem is this: if you run a moderate level of cgi activity on your
Raq, you'll notice that your errors logs will start filling up with
"can't find cgi-wrap" warns even though the scripts are functioning.
This is an issue in Apache 1.3.3 and 3.6 (apparently corrected in
1.3.9). Basically the code in http_config.c for handler matching
forces two "check" passes. Since cgi-wrap isn't an Apache default
handler, it isn't recognized during the first pass and the warning is
issued. The second pass let's the script function.
The logical solution, according to the archives, would be to switch
the order of the passes. Sounds logical to me anyway.
Duncan Laurie did a recompile of Apache to do just that and has an
rpm and a srmp for MIPS. It sure would be nice to eliminate this
problem on Raq3.
BTW, I emailed Duncan but got no answer -- so if he's still around,
maybe he can chime in here.
For reference, the MIPS rpm is at
ftp://ftp.cobaltnet.com/pub/users/duncan/apache/apache-1.3.3-1C7-noCGIwarn.mips.rpm
Other than that, the archives seem to have no answer to the question. So:
Does anyone know of anything that will address the problem on Raq3?
Are there any scripts, hacks or anything other than commenting out
the addhandler lines to disable cgi-wrap (which I've never liked as a
server-wide solution).
Thanks
Alfredo
--
People-Link/Institute for Mass Communications
www.people-link.org
Communications for a Better World...and for the People Who are Building One!
Members, Local 1180, Communications Workers of America, AFL-CIO