mod_oradav Oracle Fusion Middleware Online Documentation Library

Understanding Oracle HTTP Server Modules 3-5

3.7 mod_osso

The mod_osso module enables single sign-on for Oracle HTTP Server by examining incoming requests and determining whether the requested resource is protected. If it is, then it retrieves the Oracle HTTP Server cookie. The module is disabled, by default. To enable the mod_osso module, follow the instructions in Section 4.4.5, Enabling the mod_osso Module .

3.8 mod_perl

The mod_perl module embeds the Perl interpreter into Oracle HTTP Server. This eliminates start-up overhead and enables you to write modules in Perl. Oracle Fusion Middleware uses Perl version 5.10. The module is disabled, by default. To enable the mod_perl module, follow the instructions in Section 4.4.3, Configuring the mod_perl Module .

3.8.1 Using mod_perl with a Database

This section provides information for mod_perl users working with databases. It explains how to test a local database connection and set character forms.

3.8.1.1 Using Perl to Access the Database

Perl scripts access databases using the DBIDBD driver for Oracle. The DBIDBD driver is part of Oracle Fusion Middleware. It calls Oracle Call Interface OCI to access the databases. Once mod_perl is enabled, DBI must be enabled in the mod_perl.conf file to function. To enable DBI, perform the following steps: 1. Edit the mod_perl.conf file: a. In Fusion Middleware Control, navigate to the Oracle HTTP Server Advanced Configuration page.

b. Select the mod_perl.conf file from the menu and click Go.

c. Add the following line to the mod_perl.conf file: PerlModule Apache::DBI

2. Click Apply to save the file.

3. Restart Oracle HTTP Server using Fusion Middleware Control. Place the Perl scripts that you want to run in the ORACLE_ INSTANCE configOHSohs_namecgi-bin directory. Example 3–1 Using a Perl Script to Access a Database ORACLE_HOMEperlbinperl -w See also: For information about forced authentication, see Oracle Fusion Middleware Application Developers Guide for Oracle Identity Management. For information about single sign-on, see Oracle Fusion Middleware Security Guide See Also: mod_perl Guide