Oracle Internet Application Server Using mod_plsql
Release 1.0.1

A83590-02

Library

Product

Contents

Index

Prev Next

2

Installing mod_plsql

2.1 System Requirements

The following are the recommended and minimum requirements for installing and running mod_plsql:

Operating Systems

Oracle Database

Web Listener

Web Browsers

2.2 Before you begin

Before you install mod_plsql using the Internet Application Server (IAS) v1.0 Oracle Universal Installer, you must satisfy the following prerequisite requirements:

2.3 Installation

To begin the Oracle Universal Installer, execute the runInstaller application located on your product CD or stage area. Follow the instructions in each step of the installation application, including choosing a directory where you want to install iAS v1.0.1. This install directory will be referred to as <IAS_ROOT> after you choose.

2.4 Installing required packages

After installation, you must manually install additional required packages using the owaload.sql script.

  1. Navigate to the directory where the owaload.sql and docload.sql files are located. This directory should be <IAS_ROOT>/Apache/modplsql/owa.

  2. Log into the Oracle 8.1.6 database as the SYS user.

  3. At a SQL prompt, run the following command:

    @owaload.sql log_file  

    where

    log_file is the installation log file.

    owaload.sql installs the OWA packages into the SYS schema. It also creates public synonyms and makes the packages public so that all users in the database have access to them. Therefore, only one installation per database is needed.

2.5 Configuring the Oracle HTTP Server Listener

The iAS installation creates configuration files that you can edit, including the following that affect mod_plsql:

<IAS_ROOT>/Apache/Apache/bin/httpdsctl

This script is used to start and stop Oracle HTTP Server. Inside this file, there are three parameters that affect mod_plsql:

If you want to have mod_plsql running in another Oracle Home, remember to change both the ORACLE_HOME and LD_LIBRARY_PATH settings.

On Solaris, if you want mod_plsql to use a different configuration file, just update the httpdsctl file to point to the new configuration file. On Windows NT, you can click Start->Settings->Control Panel->System. Click the Environment tab, then create a System variable called WV_GATEWAY_CFG that points to the new configuration file.

<IAS_ROOT>/Apache/Apache/conf/httpds.conf

This configuration file defines the behavior of Oracle HTTP Server (powered by Apache). You can set your port number as well as other server settings.

<IAS_ROOT>/Apache/modplsql/cfg/plsql.conf

This configuration file describes settings for the mod_plsql module. There settings are configurable:

<IAS_ROOT>/Apache/modplsql/cfg/wdbsvr.app

This is the main mod_plsql configuration file. It contains all the DAD information. Please do not edit this file directly. Use mod_plsql configuration page, which you can access through your browser as shown below.

2.6 Accessing the mod_plsql configuration page

To access to mod_plsql configuration page, enter the following URL in your Web browser:

http://<hostname>:<port>/pls/DAD/<admin_path>/gateway.htm 

where:

<hostname> is the machine where the application server is running.

<port> specifies the port at which the application server is listening. If omitted, port 80 is assumed.

<admin_path> specifies the URL path element that identifies an admin page. The default is admin_. For example, if you specify the default of admin_, the following URL will invoke mod_plsql configuration page, given that the invoking user is listed in the administrators configuration setting:

http://www.myserver.com/pls/admin_/gateway.htm

Configuration settings are protected by the administration security settings. The web administration page can only be invoked by those users whose user names appear in the Administrators setting of the configuration file. See "Configuring mod_plsql" for more information.

2.6.1 pls.conf configuration file

The Oracle HTTP Listener configuration file includes the modplsql configuration file plsql.conf. The contents of plsql.conf are:

# 
# Directives added for mod_plsql 
# 
LoadModule plsql_module %APACHE_HOME%/modplsql/bin/modplsql.so 

# 
# Enable handling of all virtual paths beginning with "/pls" by mod-plsql 
# 
<Location /pls> 
  SetHandler pls_handler 
  Order deny,allow 
  Allow from all 
</Location> 

2.7 Starting and stopping the Oracle HTTP Server Listener

To start the Apache listener, type:

<IAS_ROOT>/Apache/Apache/bin/httpdsctl start 

To start the Apache listener with SSL. support, type:

<IAS_ROOT>/Apache/Apache/bin/httpdsctl startssl 

To stop the Apache listener, type:

> <IAS_ROOT>/Apache/Apache/bin/httpdsctl stop 


Prev Next
Oracle
Copyright © 2000 Oracle Corporation.

All Rights Reserved.

Library

Product

Contents

Index