Legacy Knowledge Base
公開されました Sep. 10, 2025

サイトにアクセスするたびに URL を置き換えたり非表示にしたりするにはどうすればよいですか?

Written By

Kanchan Bisht

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.

問題

  • Web サーバーのリバース プロキシとして、ユーザーが URL にアクセスするたびに、ユーザーはアプリケーション サーバーの IP アドレスに送信されます。この IP アドレスは、サイトの URL に表示されます。 では、この URL を IP に置き換えたり、サイトにアクセスするたびに非表示にしたりするにはどうすればよいでしょうか。

Environment

  • Liferay DXP 7.2
  • Apache Webサーバー

解決策

  • 報告された問題は、サーバー側でトラブルシューティングする必要があるものであり、このために、ユーザーはサーバー ディレクティブを調べる必要がある場合があります (Listen、ServerName、ServerRoot、DocumentRoot) .
  • ユーザーは、ServerName ディレクトリに DNS ホスト名を設定する必要があります。
    # ServerName gives the name and port that the server uses to identify itself.
    # If your host doesn't have a registered DNS name, enter its IP address here.
    ServerName YourHostNameOrIPAddres:8000
  • ただし、この問題は製品としての Liferay の範囲を超えているため、Web サーバー関連の構成とソリューションの専門家がいるような状況を克服するために、Web サーバー チームの誰かが関与することができます。

追加情報

  • Liferay の構成に関しては、以下のでされいるプロパティは、Liferay を Web サーバーまたはプロキシと統合する に構成できます。 これで、親切に DXP 7.2 portal.properties を参照してください。詳細な洞察を得るのに役立ちます。
  • 手順が説明されている非公式のブログ (Link1 および Link2) がいくつかあります。 このブログは Liferay の公式ドキュメントではないため、独自の判断でフォローすることを選択してください。
Did this article resolve your issue ?

Legacy Knowledge Base