httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cliff Woolley <>
Subject Re: mod_access.html
Date Fri, 15 Dec 2000 00:51:47 GMT

--- Joshua Slive <> wrote:
> One question for you folks:
> In the Order directive documentation it says (in bold)
> 'Note that in all cases every Allow and Deny statement is evaluated, there
> is no "short-circuiting".'
> I have no idea what that is trying to say.  Any ideas?

It means that a client cannot pass just because it is allowed; it has to also NOT be
denied.  That's why the following works:

Order Allow,Deny
Allow from all
Deny from

If there were short-circuit logic, since the allows are processed first, even would be allowed because it matches "all".  So the statement is trying to
just make it clear that ALL of the allows and denies will be evaluated, which for this
example means that a client from is first allowed but then immediately
afterward denied; the end result is deny.

Does that help?


Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.

View raw message