> I found it, quite be accident in the Eagle Book
 >
 > Lost the page number, but it was in Chapter 4.

There's some discussion in the last paragraph of page 86.


 > anybody got a more specific pointer to help us fuzzy searchers
 > find 'how to have mod_perl handle directory requests'?

Hopefully this should be a pretty decent start:

---------

package My::DirList;

use strict;
use Apache;
use Apache::Constants qw(:common);

sub handler {
     my $r = shift;

     if ($r->content_type eq 'httpd/unix-directory') {

         # Do whatever you need to do right here....

         return OK;
     }
     else {
         return DECLINED;
     }
}


1;

-- 

_______________________________________________________

      Ade Olonoh, BOTTLED SOFTWARE

      317.576.1120 x12 (phone) 317.576.1135 (fax)
_______________________________________________________

Reply via email to