Re: Significance of evaluation order?
Joshua Slive <joshua <at> slive.ca>
2006-11-03 20:57:45 GMT
On 11/3/06, Rich Bowen <rbowen <at> rcbowen.com> wrote:
>
> On Nov 3, 2006, at 15:33, robert.kennington <at> yahoo.com wrote:
>
> > Here are some proposed definitions:
> >
> > Order Allow, Deny: Initially a flag for each incoming URL is set
> > to Deny. Then all Allow directives (i.e. "Allow foobar.org") are
> > applied followed by all Deny directives regardless or which order
> > the Allow and Deny directives appear after the Order directive.
> >
> > Order Deny, Allow: Initially a flag for each incoming URL is set
> > to Allow. Then all Deny directives (i.e. "Allow foobar.org") are
> > applied followed by all Allow directives regardless of which order
> > the Allow and Deny directives appear after the Order directive.
>
> +1. These are an improvement over what we have, and will alleviate
> much confusion.
I'm all for improvements, but this suggestions has lots of problem:
- No space after the comma between Allow and Deny.
- "for each incoming URL" is superfluous and confusing.
- The mini example "(i.e. ...)" doesn't add anything
- Why introduce the concept of a "flag"? I think it just obscures things.
- It doesn't solve Chris' initially reported confusion, which is that
it needs to be specified that the last evaluated directive wins.
How about:
Deny,Allow
(Continue reading)