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

Last updated on APRIL 28, 2017

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

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms