You have to recompile mod perl so its response handler hook runs before mod dir's. Have them run first or really first instead of middle.
Sent from my iPhone > On Sep 15, 2014, at 6:02 PM, Ruben Safir <ru...@mrbrklyn.com> wrote: > > On Mon, Sep 15, 2014 at 05:40:00PM -0400, Ruben Safir wrote: >>>> >>>> >>>> Now the error log for an index request says: >>>> >>>> [Mon Sep 15 12:14:09 2014] [error] [client 10.0.0.57] Attempt to serve >>>> directory: /usr/local/apache/htdocs/resources/, referer: >>>> http://www.mrbrklyn.com/ >>>> INDEXES ON >>>> SYMLINKS OFF >>>> CGI OFF >>>> >>>> >>>> It knows that INDEXES is on but it is ignoring the config files fault. >>>> >>>> I suppose I need to identify the directory request and then >>>> decline to respond to it. >>> >>> Yes. >>> >>>> But I have no idea how to do this. >>> >>> Have you tried >>> >>> return DECLINED; # ? >> >> >> I think I need return Apache2::Const::DECLINED; > > This is the module that is failing to work > > https://httpd.apache.org/docs/2.2/mod/mod_dir.html > > As soon as you pull up mod_perl it stops working. it will not pick up > from the response cycle once you interject a modperl module > > >