httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allan Edwards" <...@meepzor.com>
Subject RE: cvs commit: httpd-2.0/server/mpm/winnt mpm_winnt.c
Date Tue, 09 Jan 2001 16:25:51 GMT
> Jon Travis pointed out to me yesterday that this is wrong in more ways
> than one.  The problem is that before the change, Apache would run all the
> handlers that registered specific handler types, like DIR_MAGIC_TYPE or
> server-parsed-html before it ran any handler that registered generic
> handler types, ones with *'s in them.
> 
> This behavior is now gone, which is a bad thing IMHO.  This means that a
> module that matches multiple handler types, only gets one chance to
> matche them all.  I didn't think this was important yesterday, but I woke
> up this morning, and I believe it is.  Somebody tell me I'm wrong
> please.   I just want somebody else to say I am wrong.  :-)
> 

I was mulling the same issue over yesterday. It seems to me that we
_should_ be giving any specific match first shot. One way to do
this is to specify AP_HOOK_LAST for any handlers that have wildcards.
Question though, do we need to ensure foo/* get its shot before */* ?

Allan

Mime
View raw message