httpd-docs mailing list archives

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

--- Joshua Slive <slive@finance.commerce.ubc.ca> 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 .badguys.com

If there were short-circuit logic, since the allows are processed first, even
.badguys.com 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 .badguys.com is first allowed but then immediately
afterward denied; the end result is deny.

Does that help?

--Cliff

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions of Products.
http://shopping.yahoo.com/

Mime
View raw message