Translated message

A translation of this page exists in English.

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content