users@glassfish.java.net

Re: Sun App 9.1: To remove HTTP Response Header: Server :Sun-ONE-Web-Server/6.1

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Wed, 15 Jul 2009 11:01:24 -0400

Salut,

glassfish_at_javadesktop.org wrote:
> Hello All,
>
> We have IIS server as a front end server and Sun App 9.1 Instances as a backend servers. We have setup loadbalncer plugin using "sun-passthrough.properties" and "loadbalancer.xml". We send HTTP & HTTPS request to IIS, which interns forward the request to Sun App Server 9.1 Instances.
>
> Now the issue is: We found that the response coming from Sun App server (via IIS) has following HTTP Response Header:
> 1) Server :Sun-ONE-Web-Server/6.1
> 2) x-powered-by :JSP/2.1

No idea for 1, but for (2), just edit
domains/domains/config/default-web.xml (search for xpowered, set it to
false)

A+

- Jeanfrancois


>
> We want to remove these header information!
> Is there any setting available in plug-in file??
>
> I have already tried with disabling "x-powered-by " option in "http-listener" settings, and also tried to set "-Dproduct.name="" " as a java option in Server instances but it did not help. It seems to me, these header information are added by the plug-in.
>
> Thanks in advance for sharing your view!
>
> Regards,
> Qumar
> [Message sent by forum member 'qumar_bea' (qumar_bea)]
>
> http://forums.java.net/jive/thread.jspa?messageID=355733
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>