To emphasize, although a request may match rule #1 and #3, it will always be treated according to rule #1 as the first match fires.
强调一下,尽管一个请求可能同时匹配规则 #1和 #3,它将总是根据规则 #1处理,因为第一个匹配的规则将触发。
We're actually going to use the same match rule as we did on the client side, so use the same steps you did for the first one, and then select it in the list as shown in Figure 52, and click done.
我们实际要使用的匹配规则与我们在客户端上使用的相同,所以使用的步骤与第一个步骤相同,然后在列表中选择它(如图52所示),并单击done。
Each chain can have a policy that defines "a default target", i.e. a default action to perform, if a packet doesn't match any rule in that chain.
每个链都可以有一个策略,它定义“缺省目标”,也就是要执行的缺省操作,当信息包与链中的任何规则都不匹配时,执行此操作。
But if the packet doesn't match a rule, then it is compared to the next rule in the chain.
但是,如果信息包与这条规则不匹配,那么它将与链中的下一条规则进行比较。
Finally, if the packet doesn't match to any rule in the chain, then the kernel consults the policy of that chain to decide what to do with the packet.
最后,如果信息包与链中的任何规则都不匹配,那么内核将参考该链的策略来决定如何处理该信息包。
To rectify this, you can, at any time, create a static cache rule that enables you to match a particular URL pattern with a new (and probably larger) last-modified factor.
为了修正这种情况,您可以在任何时候创建一条静态缓存规则(匹配某种特殊的URL模式,以及较大的“最后修改”系数)。
In these examples, both commands perform the same task — they specify that all TCP and UDP packets will match this rule.
在上述示例中,这两条命令都执行同一任务—它们指定所有TCP和UDP信息包都将与该规则匹配。
Collaborative rules - Now operates in a collaborative fashion where all CRS rules can set transactional variables to specify what rule matched, the location of the match and what payload data matched.
协作规则——现在协作已经是个潮流了,所有的CRS规则都可以设定事务性变量以指定匹配的规则、匹配的位置及匹配的负载数据。
All packets that don't match any rule in the chain will then be forced to use the policy of the chain.
所有与链中任何规则都不匹配的信息包都将被强制使用此链的策略。
The rule contains two subpatterns, or match groups, enclosed by parenthesis.
这个规则包含两个子模式(即匹配组),它们包围在圆括号中。
GSC is configured to accept all requests with the URI \*” and has a routing rule configured to regect all requests that match this URI with a 404response.
GSC被配置为接受所有带有URI “\*” 的请求,其中有一个路由规则配置为用一个 404响应拒绝所有匹配这个 URI 的请求。
They say that if a point in the parsing process is reached, nothing else except the current rule could match.
它们指出,在解析过程中,如果达到某个条件,则只能匹配当前规则。
When the first rule match is found, the calling client is either denied or allowed access.
当找到第一条规则匹配后,会拒绝或允许调用客户端的访问。
The general rule to remember is that the ODR tries to match the most specific pattern.
需要牢记,一般规则是ODR试图匹配最具体的模式。
You can set the feature values of an annotation by assigning a sub-pattern of the regular expression rule-a match group-to the feature.
通过把正则表达式规则的子模式(匹配组)分配给特性,可以设置注解的特性值。
In the Behavior section, click Require - Every item in the scope must match this rule.
在行为一节,点必须-范围中的每一项必须与该规则匹配。
With the Regular expression Lookup operator you can find the text sections that match the expressions contained in the selected rule files.
通过使用RegularExpressionlookup操作器,可以找到与所选规则文件中包含的表达式匹配的文本部分。
The above rule says: match a device which was named by the kernel as hdb AND where the driver is ide-disk. Name the device node with the default name and create a symbolic link to it named sparedisk.
上面规则意思是:匹配一个内核命名为hdb以及驱动为ide-disk的设备,命名设备节点为缺省名字,同时创建一个指向它的名为sparedisk的符号链接。
The engine evaluates each rule from right to left, starting from the rightmost selector (called the "key") and moving through each selector until it finds a match or discards the rule.
该引擎由右至左评估每个规则,从最右边的选择器开始(称为“键”【Key】),并通过移动每个选择器,直到找到一个匹配或丢弃的规则。
If a match is found, then TCPD stops, depending on the rule, and access is either granted or denied.
如果找到匹配,那么tcpd会根据规则停下来,批准或拒绝访问。
The smarter way to handle this is to use the longest_d directive, which tries to match the rule that consumes the maximum length from the input stream.
更好的方法是使用 longest_d指令,该指令将尝试匹配消耗输入流的最大长度的规则。
The token rule: The token rule can match any of a number or sequences, somewhat arbitrarily, which I named to match the chef.l grammar.
token规则:token 规则可以匹配任何数或序列,这些数和序列是我为匹配chef.1 文法而指定的(有些随意)。
Here's the rule to follow: count the number of left parentheses from the beginning of the regex - the count is the index to the match array.
下面是需要遵循的规则:从regex的开头开始计算左括号的数目——该计数是匹配数组的索引。
The template rule simply looks in the class attribute for the ancestor element name, and renames the current element to match.
模板规则只需要查看class属性中的祖先元素名,然后重命名当前元素以与其匹配。
In Listing 1, a simple rule to match product Numbers of Thinkpad laptops is created from the URL rule definition.
在清单1中,以url规则定义为基础,创建一个匹配Thinkpad笔记本电脑产品号的简单规则。
D or — delete: This command deletes a rule from the chain, either by specifying the rule to match with -d or by specifying the rule's position number in the chain.
d或——delete:通过用-d指定要匹配的规则或者指定规则在链中的位置编号,该命令从链中删除该规则。
It then iterates through the rewrite rules one at a time, and for each rule, it grabs its LookFor property and USES a regular expression to determine if a match is found in the requested URL.
然后,它将遍历重写规则,每次遍历一个,对于每个规则,它将获取规则的LookFor属性,并使用正则表达式来确定是否在被请求的URL中找到了匹配的规则。
A common problem is having a rule match too much text; worse, since lex prefers the longest match it can find, this can result in a totally inappropriate rule being matched.
常见的问题是,一个规则匹配太多的文本;更糟糕的是,由于lex倾向于匹配它能找到的最长的文本,这可能导致匹配的是一个完全不适当的规则。
The above rule says: match a device which was named by the kernel as HDB, and instead of calling it HDB, name the device node as my_spare_disk.
上面规则意思是:匹配一个设备命名为hdb的设备,把它重新命名为my _ spare _ disk。
The above rule says: match a device which was named by the kernel as HDB, and instead of calling it HDB, name the device node as my_spare_disk.
上面规则意思是:匹配一个设备命名为hdb的设备,把它重新命名为my _ spare _ disk。
应用推荐