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 52406] New: Order not inherited by subdirectories
Date Sun, 01 Jan 2012 01:56:59 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52406

             Bug #: 52406
           Summary: Order not inherited by subdirectories
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: calestyo@scientia.net
    Classification: Unclassified


Hi.

Either this is a bug, or a suggestion to change behaviour, or at least a
suggestion to clarify documentation:

It seems that the set "Order" is not inherited as one would expect from the
usual way different sections are merged.

Example:
<Directory /foo>
    Order allow,deny
    Deny from all
</Directory>

<Directory /foo/bar>
    Allow from localhost
</Directory>


I would now assume, that in /foo, everything is denied (which is actually the
case) and that in /foo/bar, everything is denied but accesses from localhost
(as I'd expect that the "Order allow,deny" applies on /foo/bar, too).

It seems however, that "Order" is silently set back to it's default
(deny,allow) in the /foo/bar section.
And therefore... _any_ access is granted.


This seems to be some quite strange behaviour.

Not sure whether any similar directives (e.g. Satisfy) also behave as strange
as this.


Cheers,
Chris.

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

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


Mime
View raw message