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

Re: [cobalt-developers] cgi-wrapper not found



hi tony,

At 03.03.00 10:31, you wrote:

I had to look in the http error logs today and found that the following is
appearing a LOT.

[Fri Mar  3 01:31:11 2000] [warn] [client 195.59.0.41] handler "cgi-wrapper"
not
 found for: /home/sites/site4/web/cgi-bin/<script name removed>.cgi

Any idea what it may be?  I guess it is something to do with the RAQ3's
system.

if your cgi runs: just ignore, it's only a warning, not an error.

duncan@xxxxxxxxxx has already talked about this on the cobalt-users list on 1999/11/30, so i just can copy+paste what he told:

<snip>

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

</snip>


cya, jonas.
____________________________________________
Jonas Pasche
Technischer Support

webagentur Domke GmbH

Rheinstr. 3 - 64283 Darmstadt - Germany

Telefon +49 6151 17742-33
Telefax +49 6151 293173

http://www.domke.de

mailto:jonas@xxxxxxxx
____________________________________________