Name
order
Synopsis
order
order
[Within <Directory>
or
.htaccess]
The
order
directive specifies the order in which
deny
and allow
directives are
evaluated. The order
directive can take one of the
following forms:
-
order deny,allow
deny
directives are evaluated beforeallow
directives (this is the default).-
order allow,deny
allow
directives are evaluated beforedeny
directives.-
order mutual-failure
This setting means that any host appearing on the
allow
list is allowed, and any host listed on thedeny
list is denied. Finally, any host not appearing on either list is denied.
Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.