My Oracle Support Banner

How to Setup Oracle HTTP Server as a Virtual Host Reverse Proxy (Doc ID 314381.1)

Last updated on SEPTEMBER 24, 2018

Applies to:

Oracle HTTP Server - Version 1.0.2.1 and later
Information in this document applies to any platform.

Goal

How to Setup Oracle HTTP Server as a Virtual Host Reverse Proxy


This document describes how to setup the Oracle HTTP Server (OHS) as a Virtual Host Reverse-Proxy (RP), using multiple virtual hosts, or multiple names that resolve on the network. This should be applicable to any apache-based HTTP Server, including versions 1.0.2.2, 9.0.2, 9.0.3, 9.0.4, 10.1.2, 10.1.3, 11.1.1.x and 12.x. This document was written and tested with Apache 1.3 based Oracle HTTP Server, then later tested on the newer versions. If applicable, follow the Apache 2 documentation referenced within to make necessary change.

This document describes configuring and testing the following request flow:

User --> Apache-RP --> OHS
or
User --> OHS-RP --> OHS


The goal of this document is not to provide all required steps for all possible topologies. The goal of this document is to provide the basic VirtualHost and basic ProxyPass directives in a step-by-step method to test  the request flow between the two Oracle HTTP Servers, ensuring that the request is reaching one desired server configuration, and being forwarded to the next desired server configuration. This is very important to ensure requests are being handled by the expected VirtualHost before configuring other components and applications to use this request flow.

For other topologies and considerations, see the bottom of this document.


Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
 How to Setup Oracle HTTP Server as a Virtual Host Reverse Proxy
Solution
 Introduction
 Four Major Steps to Setup and Test Virtual Hosts and Reverse Proxy
 STEP 1 - Virtual Hosting on Front-End Server
 STEP 2 - Virtual Hosting the Back-End Server
 STEP 3 - Adding ProxyPass to Front-End
 STEP 4 - Preparing Back-End for Reverse-Proxy
 Summary
 Addendum - More Information - Integrated Interests
 Using Oracle Web Cache
 Using Load Balancers
 Using HTTPS (SSL)
 Oracle Single Sign-On (SSO)
 Using Advanced Topologies
 Using mod_rewrite
 Single Sign-On (SSO) and/or Secure Sockets Layet (SSL) on the Infrastructure:
 Using Apache Documentation
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.