Re: Inconsistency with dhandlers

"Jonathan Swartz" <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
> 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/.

Did you mean to say "if the request comes in for directories, rather than
files"?

Are you overriding the decline_dirs parameter? By default, it is set to 1,
meaning that Mason will decline a request if $r->filename is a directory.
See ApacheHandler.pm line 828. If this isn't working for you for some
reason, let us know.

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.