Translated message

A translation of this page exists in English.

JBoss EAP 7.x によって返される Server ヘッダーと X-Powered-By 応答ヘッダーを抑制または変更する方法

Solution Verified - Updated -

Issue

  • JBoss EAP 7.x によって返される Server ヘッダーと X-Powered-By 応答ヘッダーを抑制または変更するにはどうすればよいですか? EAP 7 によって返される、次の HTTP ヘッダー Server および X-Powered-By から、ソフトウェアに関する詳細情報がわかります。

        HTTP/1.1 200 OK
        X-Powered-By: Undertow/1
        Server: JBoss-EAP/7
    

    and the following will be returned when you access JSP page:

        HTTP/1.1 200 OK
        X-Powered-By: Undertow/1
        X-Powered-By: JSP/2.3
        Server: JBoss-EAP/7
    
  • Server ヘッダーと X-Powered-By ヘッダーを削除または変更するにはどうすればよいですか?

  • EAP 6 では、システムプロパティー org.apache.coyote.http11.Http11Protocol.SERVER を指定して、 Server 応答ヘッダーを変更しました。これと同様の EAP 7 の設定は何ですか?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 7.x

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