My Oracle Support Banner

EditHttpConf Tool Causes httpd.conf to Loose Customized Changes (Doc ID 2109094.1)

Last updated on OCTOBER 10, 2019

Applies to:

Oracle Access Manager - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

There are 2 machines, i.e., one instance of OAM, one instance of OHS, respectively. There is no load balancer.

Case 1 - OAM configuration includes Access Manager Settings (load balancer) to point to itself (oam host) and <OAM_SSL_PORT> port.

This arrangement works. When a protected application is requested, customer gets directed to oam login with the following url pattern,

https://<HOSTNAME>:<OAM_SSL_PORT>/oam/server/obrareq.cgi?encquery.........

Upon submitting credentials, it successfully logs the user into the application. Logout also works.


Case 2 - Customer do not want to expose and use<OAM_SSL_PORT> port to the outside world,

Customer change OAM Access Manager Settings (load balancer) configuration to point to OHS host and <OHS_SSL_PORT> (OHS port).

In this arrangement, when they request the same application URL, they get the following error,

"The requested URL /oam/server/obrareq.cgi was not found"

On the URL bar, following appears,
https://<HOSTNAME>/oam/server/obrareq.cgi?encquery.........

Customer has "Case 2" working in many other internal environments involving OAM and OHS here. Not in Oracle Cloud yet.

In Oracle Cloud environment, there are 2 sets of IP addresses - External and Internal

Machines having to access cloud services from outside need to use use External IP addresses; and services within the cloud accessing each other use Internal IP addresses.

Hence,
On local windows workstation from where browser is launched (to invoke application), we reference the External IP addresses to these servers, in windows hosts file,
<EXTERNAL_OAM_IP_ADDRESS> <OAM_HOSTNAME>
<EXTERNAL_OHS_IP_ADDRESS> <OHS_HOSTNAME>

On OAM and OHS machines in cloud, we set Internal IP addresses to reference these servers in etc hosts file,
<INTERNAL_OAM_IP_ADDRESS> <OAM_HOSTNAME>
<INTERNAL_OHS_IP_ADDRESS> <OHS_HOSTNAME>

Cause

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
Symptoms
Cause
Solution
References


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