Re: lost directory indexes
Ruben Safir <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Sep 15, 2014 at 10:03:35PM -0400, Joseph Schaefer wrote: > 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. How do you do that. Is the a change in the config file for the Apache DSo to do that. I compile modperl from apache. Ruben > > Sent from my iPhone > > > On Sep 15, 2014, at 6:02 PM, Ruben Safir <[email protected]> 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 > > > > > > -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013