Creating a dad, Creating a dad -20 – Oracle B12255-01 User Manual

Page 90

Advertising
background image

mod_plsql

7-20

Oracle HTTP Server Administrator’s Guide

Creating a DAD

Perform the following steps to create a DAD:

1.

Edit the DAD configuration file ORACLE_
HOME
/Apache/modplsql/conf/dads.conf

.

2.

Add a DAD where the DAD has the following format:

a.

The Oracle HTTP Server

<Location>

directive which defines a virtual path

used to access the PL/SQL Web Application. This directive begins
enclosing a group of directives that apply to the named Location.

For example, the directive <Location /myapp> defines a virtual path
called “/myapp” that will be used to invoke a PL/SQL Web Application
through a URL like http://host:port/myapp/.

b.

The Oracle HTTP Server “SetHandler” directive which directs Oracle
HTTP Server to enable mod_plsql to handle the request for the virtual
path defined by the named Location

SetHandler pls_handler

c.

Additional Oracle HTTP Server directives that are allowed in the context of
a <Location> directive. Typically, the following directives are used:

Order deny,allow

Allow from all

AllowOverride None

d.

One or more mod_plsql specific directives. For example:

PlsqlDatabaseUsername scott

PlsqlDatabasePassword tiger

PlsqlDatabaseConnectString orcl

PlsqlAuthenticationMode Basic

e.

An Oracle HTTP Server </Location> directive which closes the group of
directives for the named Location, and defines a single DAD.

Note:

Older versions of mod_plsql were always mounted on a

virtual path with a prefix of ’/pls’. This restriction is removed in
newer versions but might still be a restriction imposed by some of
the older PL/SQL applications.

Advertising