Re: Inconsistency with dhandlers

David Wheeler <[email protected]>
Newsgroups gmane.comp.web.mason.devel
Message-ID <[email protected]>
On May 10, 2004, at 4:55 PM, David Wheeler wrote:

> I was figuring I'd have to do that, but unfortunately, it doesn't seem 
> to work. Apache redirects the browser to /docs/1.8/, but then returns 
> a 403:
>
> [Mon May 10 16:53:53 2004] [error] [client 192.168.1.1] Directory 
> index forbidden by rule: /usr/local/www/bricolage.cc/docs/1.8/

This doesn't work because filepath() never ends in "/". This seems to 
work, though:

% $m->abort(-1) unless $m->dhandler_arg || $r->path_info;

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.