[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] (RaQ2) "cgi wrapper" not found?



Hi Ariel,

This is a bug in Apache (PR#4807) versions 1.3.3 and 1.3.6, fixed in 1.3.9.

The problem is the handler matching code in http_config.c.  It does a two-pass
check for handlers, and logs a warning if the handler is not found with the
first pass.  Since cgiwrap is not a default apache handler, it fails with the
first
pass but then succeeds on the second pass.  The fix is is simple:  move the
warning check to after the second pass.

It is harmless, though if you have lots of cgi traffic it can make the error
logs grow. . .

I re-compiled the RaQ2 apache RPM/SRPM with this patch and put it on
ftp.cobaltnet.com:
ftp://ftp.cobaltnet.com/pub/users/duncan/apache-1.3.3-1C7-noCGIwarn.mips.rpm

(note:  ftp.cobalt.com appears to be a completely different server and does not
have these user directories...  so be sure to specify ftp.cobaltnet.com)

Standard disclaimer: this is of course unsupported, and I wouldn't even bother
installing it unless the warnings bother you immensly or you have very
high-traffic sites with CGIs. (enough that it is filling up the error log) 
However, it
is useable.

If anyone is interested you can email me for a code diff or look in the SRPM.


Duncan Laurie
duncan@xxxxxxxxxx

On Mon, 15 Nov 1999, Ariel Manzur wrote:
> Date: Mon, 15 Nov 1999 03:04:23 -0300
> To: cobalt-users@xxxxxxxxxx
> From: Ariel Manzur <punto@xxxxxxxxxxxx>
> Subject: [cobalt-users] (RaQ2) "cgi wrapper" not found?
> 
> Hi..
> 
> I'm looking at the file /var/log/httpd/error, and I see the for _every_ cgi
> script that is called, a warning is logued:
> 
> [<date>] [warn] [client <ip>] handler "cgi-wrapper" not found for:
> /home/sites/some_site/some_script.pl
> 
> 
> but the scripts run fine..
> 
> What could that be?
> 
> thanks.. bye..
> 
> Ariel.
> 
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users