Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Improve engine compatibility wording

...

Info
titleEngine Compatibility

In the node pico engine, the setting clause will first bind first the value and then the name. So the above example , if re-written should use setting (v,n) would match the binding description below it.


You can have more than one loop in a rule by simply nesting one foreach inside another:

...

As we’ve seen, foreach causes the same rule to be fired multiple times in a single ruleset evaluation. Some actions are better suited to use inside a foreach loop than others. For example, issuing multiple redirect() actions from a single rule doesn’t usually make sense. But other actions like append(), replace(), send_directive(), and so on are often done over and over with different data. An example illustrates this idea.

...