プライマリ・コンテンツに移動
Oracle® Fusion Middleware Oracle WebCenter Portalの管理
12c (12.2.1)
E67377-02
目次へ移動
目次

前
次

B WebCenter PortalのOracle HTTP Server構成

この付録では、WebCenter Portalに必要なOracle HTTP Server構成について説明します。

B.1 Oracle HTTP Server構成

この項には次のトピックが含まれます:

B.1.1 Oracle HTTP Serverを使用するシナリオ

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

  • Site StudioとOracle Content Server間でOSSOが正しく機能するため。これはOHSのmod_ossoを介して実現されます。

  • Oracle WebLogic Serverクラスタ・ノード間で適切な負荷の分散を行うため。これはOHSのmod_wlを介して実現されます。

  • OHSはOAMのWebGateコンポーネント用に必要です。

  • OHSはリバース・プロキシとして使用されます。

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

B.1.2 サンプルのmod_wl_ohs.conf

mod_wl_ohs.confファイルのデフォルトの場所は、OHS_HOME/Oracle_WT1/instances/instance1/config/OHS/ohs1/mod_wl_ohs.confです。Fusion Middleware Controlを使用してmod_wl_ohsモジュールを構成した後で、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.example.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>
# 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>

B.1.3 OHSの構成

SSLディレクティブ

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

  • WLProxySSL ON

  • WLProxySSLPassThrough ON

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

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