httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39461] New: - directory indexing with access control doesn't work
Date Tue, 02 May 2006 06:19:29 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39461>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39461

           Summary: directory indexing with access control doesn't work
           Product: Apache httpd-2
           Version: 2.0.55
          Platform: Sun
        OS/Version: Solaris
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: vinita@csse.unimelb.edu.au


Hi
I have a aliasmatch like
AliasMatch ^/files/([^\/]+)/(.*) var/pagesets/$1/aliased/$2

When I turn on the directory indexing
<LocationMatch ^/files/>
    Order Deny,Allow  
    Allow from all

    Options +Indexes
    IndexOptions  FancyIndexing
</LocationMatch>

With access control
<LocationMatch ^/files/test-vinita/>
    Order Deny,Allow
    Allow from all

    Require user xxx
    Require group yyy
</LocationMatch>

Directory indexing doesn’t work, accessing URL
http://<server>/files/test-vinita/ gives ‘client denied by server’ error for
each file in that directory.

But if I use Directory block instead of Location block to turn on the directory
indexing
 <DirectoryMatch ^/local/host/apps/webcms-dev/var/pagesets/test-vinita/aliased/ >
    Options +Indexes
    IndexOptions  FancyIndexing
    Order Deny,Allow
    Allow from all
</DirectoryMatch>

With the same access control, it works!!!

(turning on the directory indexing config is in the main httpd.conf file and
access control is in separate file and included to the httpd.conf)

Thanks
vinita

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message