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(:common);
use Apache2::Const -compile => qw(:options);

and

        if($r->allow_options & Apache2::Const::OPT_INDEXES){
                print STDERR "INDEXES ON\n";
        }else {
                print STDERR "INDEXES OFF\n";
        }


        if($r->allow_options & Apache2::Const::OPT_SYM_LINKS){
                print STDERR "SYMLINS ON\n";
        }else {
                print STDERR "SYMLINKS OFF\n";
        }

        if($r->allow_options & Apache2::Const::OPT_EXECCGI){
                print STDERR "CGI ON\n"}
        else {
                print STDERR "CGI OFF\n";
        }


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.  But I have no idea how to do this.

There must me a mime type I am missing?

Any help would be appreciated.

Ruben

-- 
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

Reply via email to