Re: Inconsistency with dhandlers
Michael Slattery <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
Not for me, without args, my apache just returns 404 for a directory
without an index.
I should mention, I've got this going on:
<LocationMatch "(\.mc)|dhandler|autohandler)$">
SetHandler perl-script
PerlInitHandler Apache::Constants::NOT_FOUND
</LocationMatch>
Which I thought was supposed to protect against a printout of the
dhandler.
Mike
On May 11, 2004, at 11:49 AM, David Wheeler wrote:
> On May 11, 2004, at 7:40 AM, Michael Slattery wrote:
>
>> I was thinking of removing mod_dir, and writing an handler in the
>> correct Apache stage, so that when it finds a dir with a dhandler and
>> no other args, it makes or fakes an index.html that has a Mason
>> inherit flag pointing dhandler, so we can call the URL with and
>> without dhandler args.
>>
>> index.html:
>> <%flags>
>> inherit => 'dhandler'
>> </%flags>
>
> Uh, what for? Doesn't a dhandler just do this, anyway?
>
> 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