• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2845
  • Last Modified:

how to config virtual host on orcale http server

which config file to set up a virtual host on oracle http server?

some baisc steps to begin?
0
new_name
Asked:
new_name
1 Solution
 
Exchange_GeekCommented:
Configuring Oracle HTTP Server for Virtual Hosts

The Oracle HTTP Server instances on WEBHOST1 and WEBHOST2 should be configured to use the virtual hosts set up in the load balancer.

To configure the Oracle HTTP Server instances to use the load balancer router virtual hosts, define the Virtual Host directives in the <VirtualHost> section of the httpd.conf file on each of the Oracle HTTP Server instances.

The httpd.conf file is located under the following directory on WEBHOST1 and WEBHOST2.

ORACLE_INSTANCE/config/OHS/<componentName>
Open the httpd.conf file in a text editor and add the following directives on WEBHOST1 and WEBHOST2:

NameVirtualHost *:7777
<VirtualHost *:7777>
    ServerName https://sso.mycompany.com:443
    ServerAdmin you@your.address
    RewriteEngine On
    RewriteOptions inherit
</VirtualHost>
 
NameVirtualHost *:7777
<VirtualHost *:7777>
    ServerName admin.mycompany.com:80
    ServerAdmin you@your.address
    RewriteEngine On
    RewriteOptions inherit
</VirtualHost>

Ref: http://docs.oracle.com/cd/E12839_01/core.1111/e12035/webtier_im.htm#CHDCCBED

Regards,
Exchange_Geek
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now