Scope of Directives
Oracle HTTP Server Concepts
2-5
<DirectoryMatch>
It should be used when specifying regular expressions, instead of using the tilde
form of <
Directory
> 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:
<Directory ~/web[1-9]/>
<DirectoryMatch "/web[1-9]/">
<Files>
The <
Files
file
> and <
/Files
> directives support access control by filename.
It is comparable to the
<Directory>
and
<Location>
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. <
Files
> sections are
processed in the order that they appear in the configuration file, after the
<
Directory
> sections, and
.htaccess
files are read, but before <
Location
>
sections. Note that the <
Files
> directives can be nested inside <
Directory
>
sections to restrict the portion of the file system to which they apply.
<FilesMatch>
Provides access control by filename, just as the
<Files>
directive does. However, it
accepts regular expression.
<Location>
Limits the application of the directives within a block to those URLs specified,
rather than to the physical file location like the
<Directory>
directive.
<
Location
> sections are processed in the order that they appear in the
configuration file, after the <
Directory
> sections and
.htaccess
files are read,
and after the
<Files>
sections. <
Location
> accepts wildcard directories and
regular expressions with the tilde character.
Summary of Contents for HTTP Server
Page 1: ...Oracle HTTP Server Administrator s Guide 10g Release 1 10 1 Part No B12255 01 December 2003 ...
Page 12: ...xii ...
Page 22: ...xxii ...
Page 38: ...About htaccess Files 2 8 Oracle HTTP Server Administrator s Guide ...
Page 52: ...Getting Information about Processes 4 8 Oracle HTTP Server Administrator s Guide ...
Page 60: ...Configuring Reverse Proxies and Load Balancers 5 8 Oracle HTTP Server Administrator s Guide ...
Page 70: ...Specifying Log Files 6 10 Oracle HTTP Server Administrator s Guide ...
Page 170: ...9 6 Oracle HTTP Server Administrator s Guide ...
Page 178: ...opmn xml A 8 Oracle HTTP Server Administrator s Guide ...
Page 212: ...Glossary 10 ...
Page 224: ...Index 12 ...