You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by tser <te...@worldonline.nl> on 1999/04/17 19:15:57 UTC
follow up handler problem (6 similair bug reports found)
If' seen a lot of similair Reports as i encountered with the dual
warning/error about handlers in the bug database.
with either warnings about missing files after a wrong handler, or files
still shown after a fake missing handler, or abusivly reports the
handler isn't there
2751 general open Handler problem false, should not be logged.
3349 general open spurious "handler xxx not found" messages
4090 general open Handler checkup generates warnings with mod_jserv
and possibly others
these might be related :
3436 general open Continuous handler XXXX not found messages
2584 mod_acti analyzed Seeing alot of these: "handler "cgi-wrapper" not
found for" since upgrading
3548 mod_acti open Seeing a lot of "handler "cgi-wrapper" not found
for:" Same as PR2584
To fall Back on my previous message
1) Should Apache when it doesn't find the handler, Stop processing the
request and report a 404 error ?
2) Should Apacke place a warning in the errorlog if the hanlder failes,
but the file deliviry succeeds ?
Regards,
Reinder Kraaij.
Ps :there might be somethign wrong with this passage in the
http_config.c :
-----
/* Pass one --- direct matches */
for (handp = handlers; handp->hr.content_type; ++handp) {
if (handler_len == handp->len
&& !strncmp(handler, handp->hr.content_type, handler_len)) {
result = (*handp->hr.handler) (r);
if (result != DECLINED)
return result;
}
}
if (result == HTTP_INTERNAL_SERVER_ERROR && r->handler) {
ap_log_rerror(APLOG_MARK, APLOG_NOERRNO|APLOG_WARNING, r,
"handler \"%s\" not found for: %s", r->handler, r->filename);
}
/* Pass two --- wildcard matches */
for (handp = wildhandlers; handp->hr.content_type; ++handp) {
if (handler_len >= handp->len
&& !strncmp(handler, handp->hr.content_type, handp->len)) {
result = (*handp->hr.handler) (r);
if (result != DECLINED)
return result;
}
}
Re: follow up handler problem
Posted by Ben Laurie <be...@algroup.co.uk>.
tser wrote:
>
> i l(ove)(ife) to be ignored :o)
>
> *sits relaxed in corner of the mailing list*
> *puts hands in the air*
> "may i have for 2 seconds your attention"?
> (hears mumble of shaking heads in the background)
> No ?-)
> *turns around*
> *talks to the wall* "hi wall!"
>
> "When some (dummy, mostly, somebody like reinder), user makes a handler
> misconfiguration inside his httpd.conf, should he
>
> a) Be blamed, by not getting any errors in his error log, just because a
> file, similair to the requested locationn exist, or
> b) Be warned about his foolishness, by both giving the surfing user a
> (any number) error, and a bravely report that he might have a typo
> c) Be Warned that the Handler Doesn't exist, and a file, similair to the
> similair to the requested location doesn't exist neither.
>
> *stares to the wall* "a and c are the current situation,wall"
>
> *writes in the ground* "Hello, WorldWideWall "
> - Reinder.
Hmm. Well, I'm not going to ingore you, but I can't say I understand you
either. I will note, though, that when I use mod_perl, and have _all_ my
Perl done as an Action, then I get a warning about the handler for Perl
not being found, with great regularity. One of these days I'll get
around to finding out why, and then I may understand what you are
saying.
Cheers,
Ben.
>
> tser wrote:
> >
> > If' seen a lot of similair Reports as i encountered with the dual
> > warning/error about handlers in the bug database.
> >
> > with either warnings about missing files after a wrong handler, or files
> > still shown after a fake missing handler, or abusivly reports the
> > handler isn't there
> >
> > 2751 general open Handler problem false, should not be logged.
> > 3349 general open spurious "handler xxx not found" messages
> > 4090 general open Handler checkup generates warnings with mod_jserv
> > and possibly others
> >
> > these might be related :
> > 3436 general open Continuous handler XXXX not found messages
> > 2584 mod_acti analyzed Seeing alot of these: "handler "cgi-wrapper" not
> > found for" since upgrading
> > 3548 mod_acti open Seeing a lot of "handler "cgi-wrapper" not found
> > for:" Same as PR2584
> >
> > To fall Back on my previous message
> >
> > 1) Should Apache when it doesn't find the handler, Stop processing the
> > request and report a 404 error ?
> > 2) Should Apacke place a warning in the errorlog if the hanlder failes,
> > but the file deliviry succeeds ?
--
http://www.apache-ssl.org/ben.html
"My grandfather once told me that there are two kinds of people: those
who work and those who take the credit. He told me to try to be in the
first group; there was less competition there."
- Indira Gandhi
Re: follow up handler problem
Posted by tser <te...@worldonline.nl>.
i l(ove)(ife) to be ignored :o)
*sits relaxed in corner of the mailing list*
*puts hands in the air*
"may i have for 2 seconds your attention"?
(hears mumble of shaking heads in the background)
No ?-)
*turns around*
*talks to the wall* "hi wall!"
"When some (dummy, mostly, somebody like reinder), user makes a handler
misconfiguration inside his httpd.conf, should he
a) Be blamed, by not getting any errors in his error log, just because a
file, similair to the requested locationn exist, or
b) Be warned about his foolishness, by both giving the surfing user a
(any number) error, and a bravely report that he might have a typo
c) Be Warned that the Handler Doesn't exist, and a file, similair to the
similair to the requested location doesn't exist neither.
*stares to the wall* "a and c are the current situation,wall"
*writes in the ground* "Hello, WorldWideWall "
- Reinder.
tser wrote:
>
> If' seen a lot of similair Reports as i encountered with the dual
> warning/error about handlers in the bug database.
>
> with either warnings about missing files after a wrong handler, or files
> still shown after a fake missing handler, or abusivly reports the
> handler isn't there
>
> 2751 general open Handler problem false, should not be logged.
> 3349 general open spurious "handler xxx not found" messages
> 4090 general open Handler checkup generates warnings with mod_jserv
> and possibly others
>
> these might be related :
> 3436 general open Continuous handler XXXX not found messages
> 2584 mod_acti analyzed Seeing alot of these: "handler "cgi-wrapper" not
> found for" since upgrading
> 3548 mod_acti open Seeing a lot of "handler "cgi-wrapper" not found
> for:" Same as PR2584
>
> To fall Back on my previous message
>
> 1) Should Apache when it doesn't find the handler, Stop processing the
> request and report a 404 error ?
> 2) Should Apacke place a warning in the errorlog if the hanlder failes,
> but the file deliviry succeeds ?