Directory directive


Purpose

Directory is a sectioning directive which controls the directory to which access control directives apply.


Scope

This directive applies only to the Global ACF. All directives in the Global ACF must be contained in a Directory section.


Syntax

Opening Directive:

<Directory dir>

dir is the absolute pathname of the directory you are protecting. If you are using NCSA httpd 1.2 or later, this can also be a wildcard expression of a set of directories you wish to protect.

Closing directive:

</Directory>


Example

<Directory /u/Web>
Options None
</Directory>
The directives contained within the Directory section above would only apply to the server directory /u/Web.


Return to access configuration overview

httpd@ncsa.uiuc.edu