Legacy Knowledge Base
公開されました Jul. 2, 2025

DXP 7.2 でクロスドメイン ページにアクセス可能

Written By

Amit Tiwari

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

異なるドメインの 2 つの Web サイトを作成した後、ユーザーは他のドメインのページにもアクセスできます。

期待される結果:
www.sitea.com/web/site-a/page1 → サイト A のページ 1 は、サイト A ドメインでアクセスできる必要があります。 www.siteb.com/web/site-a/page1 → サイト A のページ 1 は、サイト B のドメインではアクセスできないはずです。

実績:
www.sitea.com/web/site-a/page1 → サイトAの1ページ目はサイトAのドメインでアクセス可能。
www.siteb.com/web/site-a/page1 → ページ 1 は引き続きサイト B ドメインでアクセスできます。

Environment

  • DXP 7.2

解決策

  • この動作に関連する機能要求があります LPS-33339 すでに「ロードマップに準拠」というステータスを持っています。つまり、この制限は、より厳密な Liferay DXP バージョンの今後のリリースですぐに克服されることを意味します。サイト仮想ホストの使用中のルール。
  • この機能は、今後の Liferay バージョンに含まれる可能性があり、機能リクエストの実装は製品チームに任されています。
  • ただし、ユーザーはこの問題を克服するためにこのアプローチを選択できます
    1)。 Web サーバー パスの制限ルールを制限することによって。
    2)。 クロスドメイン アクセスをブロックするカスタム フィルタを作成する。
  • さらに、これに関してさらにサポートが必要な場合は、 グローバル サービス チーム が最も適切なサポートを提供し、 グローバル サービス チーム につながります。営業担当者に連絡して、これを進めることができます。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base