order directive


Purpose

The order directive affects the order in which deny and allow directives are evaluated within a Limit section.


Scope

This directive is only available within Limit sections.


Syntax

order ord

ord is one of the following:


File

access.conf

Default

If no order is given, HTTPd assumes:

order deny,allow


Example

<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.


[Back] Return to access configuration overview
NCSA HTTPd Development Team / httpd@ncsa.uiuc.edu / Last Modified 7-12-95