Configuring Oracle HTTP Server (OHS)

Configure Oracle HTTP Server (OHS) for EnterpriseTrack as follows:

  1. Shut down all applications.
  2. Modify the OHS httpd.conf file as follows:
    1. Change the OHS_LISTEN_PORT (listen port) from 4443 to Listen 443.
    2. Configure HTTP stream compression by adding the following to the load module section.

      LoadModule deflate_module "${ORACLE_HOME}/ohs/modules/mod_deflate.so"

      <IfModule mod_deflate.c>

      # Compression for saving on transmission-time/bandwidth

      SetOutputFilter DEFLATE

      SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary

      SetEnvIfNoCase Request_URI \.(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary

      SetEnvIfNoCase Request_URI \.pdf$ no-gzip dont-vary

      SetEnvIfNoCase Request_URI \.avi$ no-gzip dont-vary

      SetEnvIfNoCase Request_URI \.mov$ no-gzip dont-vary

      SetEnvIfNoCase Request_URI \.mp3$ no-gzip dont-vary

      SetEnvIfNoCase Request_URI \.mp4$ no-gzip dont-vary

      SetEnvIfNoCase Request_URI \.rm$ no-gzip dont-vary

      DeflateFilterNote Ratio ratio

      AddOutputFilterByType DEFLATE text/plain text/html application/postscript

      # Some more knobs with their default values (all happen to be max allowed)

      DeflateBufferSize 20000

      </IfModule>

      # Inode numbers should never be included in ETag for servers in a cluster

      FileETag MTime Size

  3. Add the following to the $ORACLE_INSTANCE/config/OHS/ohs1/mod_wl_ohs.conf file.

    <Location /SiteWand>

    SetHandler weblogic-handler

    WebLogicHost localhost

    WebLogicPort 7001

    </Location>

  4. Disable the SSL Session Cache by commenting out the SSLSessionCache directive in ssl.conf.

    Important: To ensure maximum security, Oracle recommends that you run EnterpriseTrack only over SSL. If required for testing, you can run EnterpriseTrack over unencrypted HTTP. To do this, you must remove the WEB-INF/weblogic.xml from the SiteWand.war file.

Related Topics

Step 3: Installing Oracle HTTP Server (OHS)



Legal Notices | Your Privacy Rights
Copyright © 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Last Published Monday, June 18, 2018