httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 52406] New: Order not inherited by subdirectories
Date Sun, 01 Jan 2012 01:56:59 GMT

             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
    Classification: Unclassified


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.

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

<Directory /foo/bar>
    Allow from localhost

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.


Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message