Understanding modules, Classes of directives – Oracle B12255-01 User Manual

Page 33

Advertising
background image

Classes of Directives

Oracle HTTP Server Concepts

2-3

Understanding Modules

Oracle HTTP Server is a modular server. Modules extend the basic functionality of
the Web server, and support integration between Oracle HTTP Server and other
Oracle Database components. Oracle HTTP Server includes Apache modules as
well as Oracle HTTP Server modules.

You can add modules using the LoadModule directive. Following is an example of
LoadModule

usage.

LoadModule status_module modules/mod_status.so

Classes of Directives

Table 2–1

classifies directives according to the context in which they can be used:

global, per-server, and per-directory.

See Also:

Chapter 7, "Oracle HTTP Server Modules"

on page 7-1

Table 2–1

Classes and Directives

Class

Context

Where Used

global

server configuration

Inside server configuration files, but only outside
of container directives (directives such as
VirtualHost

that have a start and end

directive).

per-server

server configuration,
virtual host

Inside server configuration files, both outside (for
the main server) and inside VirtualHost
directives.

per-directory

server configuration,
virtual host, directory

Everywhere; particularly inside the server
configuration files.

Note:

In

Table 2–1

, each class is a subset of the class preceding it.

For example, directives from the per-directory class can also be
used in the per-server and global contexts, and directives from the
per-server class can be used in the global context.

Advertising