Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

mod_jk を使用して複数のアプリケーションにアクセスする方法

Solution Verified - Updated -

Issue

  • Apache mod_jk と、3つの異なる JBoss インスタンスで実行する 3 つのアプリケーション があります。IPアドレスは1つで、3つのポート(App1:8080、App2:8180、および App3:8280)をリスンしています。クラスタは設定されていません。
    設定したい方法は以下のとおりです。

    • App1 は url: http://abc.com/test に割り当てる。
    • App2 は url: http://abc.com に割り当てる。
    • App3 は url: http://xyz.com に割り当てる。
  • Apache mod_jk を設定して、それぞれのサイトに異なるホスト名を設定する複数のサイトを管理することができますか? 以下のように、2 つのインスタンスとサンプルがあります。

    • {host-1}/site1
    • {host-2}/site2
      つまり、それぞれのポータルが URL のパスを直接は必要とせずにそれぞれのポータルに対して利用できるため、それぞれのサイトには異なるホスト名とホームページがあります。

Environment

  • mod_jk
  • Apache Web Server
  • JBoss Enterprise Application Server (EAP) 4、5
  • JBoss Enterprise Web Server (EWS)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.