Re: Inconsistency with dhandlers

"Jonathan Swartz" <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
> On Mon, 10 May 2004, Jonathan Swartz wrote:
>
> > > No, I mean that if a request comes in for /docs/1.8/, then
> > > /docs/1.8/dhandler can respond. If it comes in for /docs/1.8 (note the
> > > omitted final slash), then /docs/1.8/dhandler will not respond.
> >
> > Ok, that makes sense for the default behavior of decline_dirs=>0. As you
> > say, it is backwards incompatible. So I'll schedule it for 1.3.
>
> Isn't this something the web server should be doing before the request
> ever gets to Mason?  With Apache, this should happen if mod_dir is being
> used.

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.

Jon



-------------------------------------------------------
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.