On Tue, Nov 08, 2005 at 12:54:18PM -0500, Joshua Slive wrote:
> 1. Order Allow,Deny
>    Allow from all
> 
> 2. Order Deny,Allow
>    Allow from all
> 
> 3. Order Deny,Allow
> 
> The difference between the three only becomes important if you add more 
> Allow/Deny directives.

o.k., is the following reasonable?

If DENY_THEN_ALLOW:
        if no-rules:
                no-header;
        else if single-allow-from-all && no-deny-rules:
                no-header;
        else
                header;

else if ALLOW_THEN_DENY:
        if no-rules:
                who-cares;
        else if single-allow-from-all && no-deny-rules:
                no-header;
        else
                header;

Which, are reducable to:

        if single-allow-from-all && no-deny-rules:
                no-header;
        else
                header;

right?

-- 
Colm MacCárthaigh                        Public Key: [EMAIL PROTECTED]

Reply via email to