beautypg.com

Directorymatch, Files, Filesmatch – Oracle B12255-01 User Manual

Page 35: Location

background image

Scope of Directives

Oracle HTTP Server Concepts

2-5

It should be used when specifying regular expressions, instead of using the tilde
form of with wildcards in the directory specification. The following
two examples have the same result, matching directories starting with web and
ending with a number from 1 to 9:

The file> and directives support access control by filename.
It is comparable to the

and

directives. The directives

given within this section can be applied to any object within a base name (the last
component of the filename) matching the specified file name. sections are
processed in the order that they appear in the configuration file, after the
sections, and .htaccess files are read, but before
sections. Note that the directives can be nested inside
sections to restrict the portion of the file system to which they apply.

Provides access control by filename, just as the

directive does. However, it

accepts regular expression.

Limits the application of the directives within a block to those URLs specified,
rather than to the physical file location like the

directive.

sections are processed in the order that they appear in the
configuration file, after the sections and .htaccess files are read,
and after the

sections. <Location> accepts wildcard directories and

regular expressions with the tilde character.