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

Re: [cobalt-developers] Problems with CGI-WRAP - handler "cgi-wrapper" not found for:



Hi Bill,

This is a bug in Apache (pr#4807) versions 1.3.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 a harmless warning; but if you have lots of cgi traffic it can make the
error logs grow...  I re-compiled the RaQ2 apache with a patch and put it on
ftp.cobaltnet.com.

RPM:
ftp://ftp.cobaltnet.com/pub/users/duncan/apache-1.3.3-1C7-noCGIwarn.mips.rpm
SRPM:
ftp://ftp.cobaltnet.com/pub/users/duncan/apache-1.3.3-1C7-noCGIwarn.src.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.

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



Duncan Laurie
duncan@xxxxxxxxxx


Bill Sandiford wrote:
> 
> HELP
> 
> For some reason every cgi or pl script that we run on our RAQ2 comes up with
> the following message :
> 
> [Thu Jan  6 14:47:35 2000] [warn] [client x.x.x.x] handler "cgi-wrapper" not
> found for: /path/to/the/script.pl
> 
> Some of the scripts run properly and some of them do not however all of them
> give this error.  The ones that do not run don't give any other error, just
> this one....also, all the scripts that do not run, will run fine from the
> command line while telneted in to the box....I have read through the
> archives and saw some discussion of this error in the past however there was
> never a solution posting.  Also, the knowledge base has some references to
> this article, none of which have helped.  I need help
> 
> Thanks
> Bill
> 
> _______________________________________________
> cobalt-developers mailing list
> cobalt-developers@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-developers




Sun Cobalt Support by Zeffie.com
A Sun Cobalt 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.
Voip 734-454-9117 At&t 734-454-0818 US Toll Free 800-231-4459 UK 0208-150-6860

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.