users@glassfish.java.net

Re: Suppress 'Server' header in Sun Application Server 7

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Thu, 12 Nov 2009 18:15:08 -0800

On 11/12/09 13:58, glassfish_at_javadesktop.org wrote:
> Is there any way to suppress the 'Server' header in the response that Sun Application Server 7 sends? Either the ability to remove it in the response or to change it (not just add to it) would suffice.
>

I'm not sure about Sun Application Server 7, but in GlassFish, you can
override the out-of-the-box setting of the "Server" response header via the
"product.name" JVM property. By setting this property to the empty string,
the "Server" response header will be suppressed.

Jan
> [Message sent by forum member 'zach_b' ]
>
> http://forums.java.net/jive/thread.jspa?messageID=371628
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>