Configuring a Virtual Host for Oracle Pagelet Producer and Sharepoint

Configuring High Availability for Oracle ADF and WebCenter Applications 6-63

6.4.11.1 Configuring a Virtual Host for Oracle Pagelet Producer and Sharepoint

The WebCenter suite includes two applications that use as the web context root: ■ Sharepoint Root - deployed on WC_Spaces ■ Pagelet Producer Root - deployed on WC_Portlet

6.4.11.1.1 Virtual Hosts Requirement To route the Sharepoint Root and Pagelet Producer

Root applications without virtual hosts by using Oracle HTTP Server OHS, you could add the following entry: Location SetHandler weblogic-handler WebLogicHost webcenter.example.com WebLogicPort 8889 Location This entry grabs all context roots that are not defined explicitly. Also, Sharepoint and Pagelet Producer require mapping, which isn’t possible to do in a single OHS. For this reason, you need a virtual host configuration. A virtual host configuration is a single system that runs more than one web site, such as www.company1.com and www.company2.com. Virtual hosts are IP-based a unique IP address for each web site or name-based multiple names run on each IP address. It is not obvious to end users that the web sites run on the same physical server. For additional information on virtual hosts, please see Apache HTTP Server documentation. Oracle HTTP Server Configuration The following entry adds two name-based hosts: one for Sharepoint Root and one for Pagelet Producer Root. 1. Find OHS httpd.conf in WEBTIER_INSTANCE_HOMEconfigOHSohs. 2. Find sample VirtualHost configuration and add the following entry: NameVirtualHost :7777 VirtualHost :7777 ServerName webhost.example.com VirtualHost VirtualHost :7777 ServerName webtier-pageletproducer.example.com Location SetHandler weblogic-handler WebLogicCluster apphost1:8889,apphost2:8889 Location VirtualHost VirtualHost :7777 ServerName webtier-spaces.example.com Location SetHandler weblogic-handler WebLogicCluster apphost1:8888,apphost2:8888 Location Location webcenter Deny from all Location Location webcenterhelp Deny from all Location 6-64 Oracle Fusion Middleware High Availability Guide Location rest Deny from all Location VirtualHost 3. Ensure that the new virtual hosts webtier-pageletproducer and webtier-spaces have been added to DNS.

6.4.11.1.2 Additional Configuration In case of Virtual Host setup, you must configure

additional properties to use applications routed via virtual host. Sharepoint For single sign-on setups, including integration with Oracle Access Manager 10g or Oracle Access Manager 11g, see the Oracle® Fusion Middleware Administrators Guide for Oracle WebCenter. Oracle Pagelet Producer To access Oracle Pagelet Producer, use webtier-pageletproducer.example.com. For example, when you register Oracle Pagelet Producer in WebCenter Spaces or a custom application, it should use the virtual host for Oracle Pagelet Producer. Similarly, access to Oracle Pagelet Producer and any Pagelet Producer resources should be by means of Virtual Host. Please refer to Oracle Pagelet Producer documentation for additional information.

6.4.11.2 Validating Access through Oracle HTTP Server