Oracle Internet Application Server Using mod_plsql Release 1.0.1 A83590-02 |
|
The following are the recommended and minimum requirements for installing and running mod_plsql:
Operating Systems
Oracle Database
Note mod_plsql requires the Oracle 8.1.6 client libraries to be installed in the same Oracle Home as mod_plsql. If these libraries are installed, you can still run mod_plsql against Oracle 8.0.5 or above. For example, you can use mod_plsql to run PL/SQL procedures installed in a remote 8.0.5 database.
Web Listener
Web Browsers
Before you install mod_plsql using the Internet Application Server (IAS) v1.0 Oracle Universal Installer, you must satisfy the following prerequisite requirements:
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.
After installation, you must manually install additional required packages using the owaload.sql script.
@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.
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.
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.
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>
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
|
![]() Copyright © 2000 Oracle Corporation. All Rights Reserved. |
|