Re: lost directory indexes

2014-09-14 Thread Ruben Safir
On 09/15/2014 12:22 AM, Ruben Safir wrote: > > I added a perl handler to my apache setup and I can't understand why I'm > losing the directory listings in my image and doc directories. I need > to both squelch rougue web querries > > The apache conf looks like this: > > > ServerAdmin ru..

Re: lost directory indexes

2014-09-15 Thread Ruben Safir
On Mon, Sep 15, 2014 at 12:24:13AM -0400, Ruben Safir wrote: > > Oh yeah -- > > Server version: Apache/2.2.23 (Unix) > Server built: Dec 9 2012 17:26:38 > Continuing on this I'm looking at what are the allowed options I added: use Apache2::Access; use Apache2::Const -compile => qw(:commo

Re: lost directory indexes

2014-09-15 Thread André Warnier
Ruben Safir wrote: On Mon, Sep 15, 2014 at 12:24:13AM -0400, Ruben Safir wrote: Oh yeah -- Server version: Apache/2.2.23 (Unix) Server built: Dec 9 2012 17:26:38 Continuing on this I'm looking at what are the allowed options I added: use Apache2::Access; use Apache2::Const -compile =>

Re: lost directory indexes

2014-09-15 Thread Ruben Safir
> > > > > >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

Re: lost directory indexes

2014-09-15 Thread Ruben Safir
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/ >

Re: lost directory indexes

2014-09-15 Thread Joseph Schaefer
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 wrote: > > On Mon, Sep 15, 2014 at 05:40:00PM -0400, Ruben Safir wrote: Now

Re: lost directory indexes

2014-09-15 Thread Ruben Safir
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.

RE: lost directory indexes

2014-09-17 Thread Mark Hedges
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. Could you XS-bind mod_dir and use it directly if there were no further path args after t

Re: lost directory indexes

2014-09-18 Thread Ruben Safir
:) You put almost as much effort into this as I, and I have to admit, this is fairly fustrating, and it is just an old bug, one that should have been resolved long ago. And I think the bug is in apache, not mod_perl, but I could be wrong. I was going to, on my next attempt on this, try recompi