If necessary, change the user to the Oracle software owner user, typically oracle,

3-20 Oracle Fusion Middleware Administrators Guide for Oracle HTTP Server 2. Set the ORACLE_HOME environment variable to specify the path to the Oracle home directory for the current release, and set the PATH environment variable to include the directory containing the Perl executable and the location of the dadTool.pl script. Bourne, Bash, or Korn shell: ORACLE_HOME=new_ORACLE_HOME_path;export ORACLE_HOME PATH=ORACLE_HOMEbin:ORACLE_HOMEperlbin:PATH;export PATH C or tcsh shell: setenv ORACLE_HOME new_ORACLE_HOME_PATH setenv PATH ORACLE_HOMEbin:ORACLE_HOMEperlbin:PATH On Microsoft Windows, set the PATH and PERL5LIB environment variable: set PATH=ORACLE_HOME\bin;ORACLE_HOME\perl\bin;PATH set PERL5LIB=ORACLE_HOME\perl\lib 3. On UNIX platforms, set the shared library path environment variable. Include the ORACLE_HOMElib or lib32 directory in your shared library path. Table 3–2 shows the appropriate directory and environment variable for each platform. For example, on HP-UX PA-RISC systems, set the SHLIB_PATH environment to include the ORACLE_HOMElib directory: SHLIB_PATH=ORACLE_HOMElib:SHLIB_PATH;export SHLIB_PATH

4. Change directory to the mod_plsql configuration directory for the current release

of Oracle HTTP Server: cd ORACLE_HOMEbin

5. Invoke the following Perl script to obfuscate DAD password:

perl dadTool.pl -f dadfilename where dadfilename is the filename for dads.conf, which includes the full path to the DAD file. For example: perl dadTool.pl -f u01apporacleas11gr1ORACLE_INSTANCEconfigOHSohs_ namemod_plsqldads.conf PlsqlDatabaseUserName Specifies the username to use to log in to the database. Table 3–2 Shared Library Path Environment Variable Platform Environment Variable Include Directory AIX Based Systems LIBPATH ORACLE_HOMElib HP-UX PA-RISC SHLIB_PATH ORACLE_HOMElib Solaris Operating System LD_LIBRARY_PATH ORACLE_HOMElib32 Other UNIX platforms, including Linux and HP Tru64 UNIX LD_LIBRARY_PATH ORACLE_HOMElib Understanding Oracle HTTP Server Modules 3-21 ■ This is a mandatory parameter, except for a DAD that sets PlsqlAuthenticationMode to Basic and uses dynamic authentication. ■ For DADs using SingleSignOn authentication, this parameter is the name of the schema owner. PlsqlDefaultPage Specifies the default procedure to call if none is specified in the URL. ■ You can also use Oracle HTTP Server Rewrite rules to achieve the same effect as you get by setting this configuration parameter. PlsqlDocumentPath Specifies a virtual path in the URL that initiates document download from the document table. For example, if this parameter is set to docs, then the following URLs will start the document downloading process for URLs of the format: plsdaddocs plsplsqlappdocs ■ Omit this parameter for applications that do not perform document uploads or downloads. PlsqlDocumentProcedure Specifies the procedure to call when a document download is initiated. This procedure is called to process the download. Category Value Syntax PlsqlDatabaseUsername string Default None Example PlsqlDatabaseUsername scott Category Value Syntax PlsqlDefaultPage string Default None Example PlsqlDefaultPage myschema.mypackage.home Category Value Syntax PlsqlDocumentPath string Default docs Example PlsqlDocumentPath docs Category Value Syntax PlsqlDocumentProcedure string Default None