logo       

Re: DHandlers and Apache: msg#00249

web.mason.user

Subject: Re: DHandlers and Apache

>
> On Friday, August 29, 2003, at 08:43 AM, Ken Williams wrote:
>
> >
> > On Thursday, August 28, 2003, at 03:30 PM, Dave Rolsky wrote:
> >
> >> On Thu, 14 Aug 2003, Jonathan Lang wrote:
> >>
> >>> Is there a way to configure Apache (say, in a .htaccess file) to
> >>> instruct
> >>> Mason to use DHandlers with directories, but only within a certain
> >>> directory tree?
> >>
> >> In Mason pre-1.10, there was a "use_dhandlers" parameter, but that
> >> went
> >> away. I thought we had replaced that with something, but apparently
> >> not.
> >
> > You should be able to set the 'dhandler_name' parameter to undef or
> > the empty string, and that should turn off dhandlers in that context.
> > However, it looks like we don't actually test this functionality in
> > our regression tests and a quick inspection of the code makes me think
> > it doesn't actually work.
>
> Luckily, the test passed, so it looks like it does actually work. =)
>

Ok. But we should document (and officially support) the blank string instead
of undef, because there is no way to set a parameter to undef via the Apache
config.

Jon



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise