Re: lost directory indexes

Ruben Safir <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.