Michael A Nachbaur wrote:
<snip/>
This adds a new configuration directive "AxDirHandler <Module>" which is used to indicate the desired directory handler plugin, but AxHandleDirs On|Off is still required to toggle if directory listings will be handled. If AxDirHandler is not specified, the default module Apache::AxKit::DirHandler::Basic is used (this is essentially a copy-and-paste job from the current directory handler, so backwards-compatibility is assured).
I'm generally +1 on this proposed patch (and thanks for taking this up, Mike).
It seems messy to add YA config directive for the special Provider case (AxDirHandler is really just a ContentProvider for dir listings) when setting the AxHandlerDir to On and applying the correct ContentProvider should work, but i guess we bought that when we made the AxHandleDir *flag* effect the content that was returned (rather than just signaling the intention to handle directory listings).
-kip