Re: Inconsistency with dhandlers

Dave Rolsky <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
On Mon, 10 May 2004, David Wheeler wrote:

> On May 10, 2004, at 2:44 PM, Dave Rolsky wrote:
>
> > 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.
>
> I don't know, I'm not familiar with mod_dir. I do know that there is
> code in Bricolage that depends on a dhandler responding even when the
> request is not for a directory. So it relies on the inconsistent
> behavior. I'll have to fix it where I see it.

Well, if mod_dir is loaded, Apache should fix up requests for directories
that don't end in slashes and do a redirect (internal?) so that the
request Mason sees ends in a slash.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/


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