Re: Inconsistency with dhandlers

David Wheeler <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
On May 11, 2004, at 8:59 AM, Jonathan Swartz wrote:

> Nope, Mason gets a chance to handle the directory; if it declines, 
> Apache
> transfers control to mod_dir. This is why we have to explicitly 
> decline by
> default in ApacheHandler. I don't know why this is; it might have to 
> do with
> the precedence of SetHandler over mime type. Apache handler experts, 
> feel
> free to speak up.

I suspect that it's because mod_dir runs in the Apache response phase, 
and because Mason does, too, it replaces mod_dir. If Mason declines, 
then the default Apache handler, including mod_dir, will execute, 
instead.

But there ought to be a way to chain them, so that mod_dir runs before 
ApacheHandler...

Regards,

David



-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.