users@glassfish.java.net

Re: Remove "Server" info from header

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Mon, 25 Jan 2010 11:16:47 -0800

On 01/25/10 10:58 AM, glassfish_at_javadesktop.org wrote:
> I'd like to remove server info (version and patch level above all) from response header.
>
> Look at this response: (wiki.glassfish.java.net)
>
> Date: Mon, 25 Jan 2010 18:43:57 GMT
> Server: Sun GlassFish Enterprise Server v2.1
> X-Powered-By: JSP/2.1
> Content-Type: text/html;charset=UTF-8
> Via: 1.1 ProxyDMZ
> Transfer-Encoding: chunked
>
> 200 OK
>
> I want to remove second line
>
> Server: Sun GlassFish Enterprise Server v2.1
>
> In my installation (same version) glassfish sends also patch level.
> I need to do this in server configuration.
>
> any hints?
>

Support for suppressing the "Server" response header has been added to
GlassFish v3 and backported to v2.1.1.

See

  
http://wiki.glassfish.java.net/Wiki.jsp?page=FaqSuppressProductInfoInHttpResponse

and

  https://glassfish.dev.java.net/issues/show_bug.cgi?id=6900

for details.

Thanks,

Jan

> Thanks
> Tru
> [Message sent by forum member 'trucall' (trucall_at_gmail.com)]
>
> http://forums.java.net/jive/thread.jspa?messageID=382831
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>