詳細なエラー メッセージ

問題

  • Apache Coyote、Tomcat など、使用されているテクノロジーの名前が表示されます。

Environment

  • ライフレイ DXP DXP 7.3

解決策

  • 各アプリケーションは、その情報を表示できるようにする責任がありますが、Liferay は許可しません。 Liferay に関連する Verbose を確実に制限することができ、それらは以下のプロパティを通じて管理できます:
         # Set the level of verbosity to use in the server information line printed    # by the web server servlet. Valid values are "full", which gives all of the
    # version information (e.g. Liferay Portal Community Edition 6.1.0 CE etc.)
    # or "partial", which gives only the name portion (e.g. Liferay Portal
    # Community Edition).
    #
    # Env: LIFERAY_WEB_PERIOD_SERVER_PERIOD_SERVLET_PERIOD_VERSION_PERIOD_VERBOSITY
    #
    web.server.servlet.version.verbosity=full
        # Set the level of verbosity to use for the Liferay-Portal field in the HTTP
    # header response. Valid values are "full", which gives all of the version
    # information (e.g. Liferay Portal Community Edition 6.1.0 CE etc.),
    # "partial", which gives only the name portion (e.g. Liferay Portal
    # Community Edition), or "off" which prevents the Portal from adding the
    # Liferay-Portal field in the HTTP header response.
    #
    # Env: LIFERAY_HTTP_PERIOD_HEADER_PERIOD_VERSION_PERIOD_VERBOSITY
    #
    http.header.version.verbosity=full
    これらは Liferay でのみ管理できます。 ただし、まだ懸念がある場合は、それぞれのベンダーにお問い合わせください。
    注意: 上記のプロパティを追加した後、サーバーの再起動が必要です。
この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています