[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, and was 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






Sun Cobalt and Linux Support by Zeffie.com
A Sun Cobalt and Linux Support Specialist Since 1999
Sun Cobalt Support, Repairs, Development, and Maintenance.
Home of the Worlds Largest Collection of Sun Cobalt Updates!
Sun Cobalt Spam Filter, Security, Firewall, Anti Virus Products.
734-454-9117 US Toll Free 800-231-4459

Zeffie's Sun Cobalt User Forums
Zeffie's Sun Cobalt Restore CD's   Zeffie's Sun Cobalt Updates  
Sun Cobalt Users List   Sun Cobalt Security List   Sun Cobalt Developers List

Click here to buy me a drink at the local pub!
(includes tip and paypal fees)

Copyright 2009 by Electronic Consultants Inc.