ヘッダーをスキップ
Oracle® Fusion Middleware Oracle WebCenter Portalの管理
11gリリース1 (11.1.1.8.3)
E51441-03
  ドキュメント・ライブラリへ移動
ライブラリ
製品リストへ移動
製品
目次へ移動
目次

前
 
次
 

B WebCenter PortalのOracle HTTP Server構成

Oracle WebCenter PortalコンポーネントがOracle WebLogic Server上で実行している場合、Oracle WebLogic ServerへのフロントエンドとしてOracle HTTP Server (OHS)を設定できます。フロントエンドとしてOHSが必要なシナリオの一部は、次のとおりです。

これらの場合、mod_wl_ohsモジュールを構成して、リクエストをOHSからOracle WebLogic Serverへプロキシ可能にする必要があります。

サンプルのmod_wl_ohs.conf

Fusion Middleware Controlを使用してmod_wl_ohsモジュールを構成した後で、mod_wl_ohs.confファイルは例B-1のようになります。このファイルのデフォルトの場所は、OHS_HOME/Oracle_WT1/instances/instance1/config/OHS/ohs1/mod_wl_ohs.confです。

例B-1 WebCenter Portal: サンプルのmod_wl_ohs.confファイル

# WebCenter Portal Application
  <Location /webcenter>
    SetHandler weblogic-handler
    WeblogicHost webcenter.example.com
    WeblogicPort 8888
  </Location>
  <Location /webcenterhelp>
    SetHandler weblogic-handler
    WeblogicHost webcenter.example.com
    WeblogicPort 8888
  </Location>
  <Location /rss>
    SetHandler weblogic-handler
    WeblogicHost webcenter.example.com
    WeblogicPort 8888
  </Location>
  <Location /rest>
    SetHandler weblogic-handler
    WeblogicHost webcenter.example.com
    WeblogicPort 8888
  </Location>
# Discussions
  <Location /owc_discussions>
    SetHandler weblogic-handler
    WeblogicHost discuss.example.com
    WeblogicPort 8890
  </Location>
# SES Search
  <Location /rsscrawl>
    SetHandler weblogic-handler
    WeblogicHost ses.examplet.com
    WeblogicPort 7777
  </Location>
  <Location /sesUserAuth>
    SetHandler weblogic-handler
    WeblogicHost ses.example.com
    WeblogicPort 7777
  </Location>
# Portlets
  <Location /portalTools>
    SetHandler weblogic-handler
    WeblogicHost webcenter.example.com
    WeblogicPort 8889
  </Location>
  <Location /wsrp-tools>
    SetHandler weblogic-handler
    WeblogicHost webcenter.example.com
    WeblogicPort 8889
  </Location>
  <Location /pagelets>
     SetHandler weblogic-handler
     WeblogicHost webcenter.example.com
     WeblogicPort 8889
   </Location>
# Personalization
  <Location /wcps>
    SetHandler weblogic-handler
    WeblogicHost webcenter.example.com
    WeblogicPort 8891
  </Location>
# Activity Graph
  <Location /activitygraph-engines>
    SetHandler weblogic-handler
    WeblogicHost webcenter.example.com
    WeblogicPort 8891
  </Location>
# UCM
#  Web server context root for Oracle WebCenter Content Server
   <Location /cs>
     SetHandler weblogic-handler
     WeblogicHost ucm.example.com
     WeblogicPort 16200
  </Location>
#  Enables Oracle WebCenter Content Server authentication
   <Location /adfAuthentication>
     SetHandler weblogic-handler
     WeblogicHost ucm.example.com  # Same as /cs entry
     WeblogicPort 16200            # Same as /cs entry
  </Location>
#  SAML SSO
   <Location /samlacs/acs>
     SetHandler weblogic-handler
     WeblogicHost ucm.example.com
     WeblogicPort 16200
  </Location>
# BPEL Server
  <Location /workflow>
    SetHandler weblogic-handler
    WeblogicHost soa.example.com
    WeblogicPort 8001
  </Location>
# SharePoint
  <Location /wcsdocs>
    SetHandler weblogic-handler
    WeblogicHost webcenter.example.com
    WeblogicPort 8888
  </Location>
  <Location /_vti_bin>
    SetHandler weblogic-handler
    WeblogicHost webcenter.example.com
    WeblogicPort 8888
  </Location>    

SSLディレクティブ

SSLを構成している場合、次の追加のディレクティブが必要です。

たとえば、mod_wl_ohs.confエントリは例B-2のようになります。

例B-2 WebCenter Portal: SSLディレクティブを使用したmod_wl_ohs.confファイル

# WebCenter Portal Application
  <Location /webcenter>
    SetHandler weblogic-handler
    WeblogicHost webcenter.example.com
    WeblogicPort 8888
       WLProxySSL ON     
       WLProxySSLPassThrough ON 
  </Location>
  <Location /webcenterhelp>
    SetHandler weblogic-handler
    WeblogicHost webcenter.example.com
    WeblogicPort 8888
       WLProxySSL ON     
       WLProxySSLPassThrough ON 
  </Location>
...

フロントエンド・リスニング・ホストおよびフロントエンド・リスニング・ポート

Oracle HTTP Server (OHS)フロントエンドがサイト・エントリ・ポイントでもある場合、Oracle WebLogic Server管理コンソールを使用して、OHSフロントエンドを使用するサーバーに対してFrontEnd HostおよびFrontEnd HTTP Portを設定します。

クラスタのエラー・ページの構成

次のようにErrorPageパラメータをmod_wl_ohs.confに組み込みます。

 <Location /webcenter>
  WebLogicCluster
  app1.mycompany.com:8888,app2.mycompany.com:8888,app3.company.com:8888
  
  SetHandler weblogic-handler
  ErrorPage http://mycompany.com/error.html
  </Location>

すべてのWC_Spaces管理対象サーバーが停止している場合、ユーザーはhttp://company.com/error.htmlにリダイレクトされます。任意の管理対象サーバーがオンラインになると、ユーザーは通常どおりWebCenter Portalにアクセスできます。

『Oracle Fusion Middleware Oracle HTTP Server管理者ガイド』のmod_wl_ohsの構成に関する項も参照してください。