Re: Inconsistency with dhandlers

[email protected]
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>

On Mon, May 10, 2004 at 11:58:23AM -0700, David Wheeler wrote:
> What I'd like to suggest is that we add an option to Mason to prevent 
> dhandlers from responding to a request if the request comes in for 
> files, rather than directories. If it declines the request, I think 
> that Apache would notice that 1.8 was a directory, and redirect the 
> browser to /docs/1.8/.

I second this one.

I currently take this into account on a large percentage of the
dhandlers I write. I always just thought I was doing something wrong,
but could never figure it out. Sometimes I even make links to
nonexistant files when I really just want to link to the directory just
to change the way relative links work.
 
> I realize that this would not be backwards compatible, but it would be 
> more consistent, I think, with how Web servers behave. That's why I 
> suggest adding it as a parameter.
> 
> Thoughts?

David++


-Andy




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