Order


Description

Specifies the order in which allow and deny directives are evaluated within a session section.

Parameters

allow,deny
First the allow directive will be evaluated, then the deny directive. If a host matches both the allow and deny directives, the host will be denied because that is the last directive evaluated.
deny,allow
First the deny directive will be evaluated, then the allow directive. If a host matches both the allow and deny directives, the host will be allowed because that is the last directive evaluated.
mutual-failure
A host will only be allowed if it is allowed by the allow directive and it is not denied by the deny directive.

Default If No Entry Found

If no order directive is found in a limit section, deny,allow will be assumed.

Command To Change This Value

File Syntax

order ord

This directive is only valid within a session section in the session based configuration file. It will only be used in the session configuration if at least one corresponding allow, deny or require entry also exists.

Only one entry may exist in a session section. If more than one entry exists, the last entry will be used.


Also See