order ord
ord
is one of the following:
deny,allow
In this case, all the deny directives are evaluated, and then all the allow directives. This basically makes the deny directives the default, and the allow directives the exceptions.
allow,deny
In this case, the allow directives are evaluated, and then all the deny directives. This makes the allow directives the default, and the deny directives the exceptions.
mutual-failure
This order is a bit unorthodox. With this order, you specify specific hosts which must be allowed or denied. Any host appearing on the allow list is allowed, and any list on the deny list is denied. Any appearing on neither is denied.
order deny,allow
<Limit GET> order deny,allow deny from all allow from .ncsa.uiuc.edu </Limit>In the /u/Web directory, the server evaluates the deny directive first. So, everyone is denied. It then evaluates the allow directive, and decides to allow clients from .ncsa.uiuc.edu.