users@glassfish.java.net

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

From: <glassfish_at_javadesktop.org>
Date: Fri, 13 Nov 2009 09:16:23 PST

Thanks, but a coworker found the answer. It is an undocumented configuration item in init.conf that is a hold over from its previous incarnation (iPlanet). My coworker noticed that init.conf is remarkably similar to magnus.conf in iPlanet. Lo and behold! He added the line 'ServerString <custom server ID string, i.e. Some Web Server>' in init.conf (there is no magnus.conf in Sun App Server 7) before the init section and rebooted the server. It worked.
[Message sent by forum member 'zach_b' ]

http://forums.java.net/jive/thread.jspa?messageID=371746