This has been fixed quite recently. The fix is in 5.5.0 branch. Having checked
CVS, I forgot to back port the patch to the 4.1.x/5.0.x branch. I'll do this
now.

Mark

> -----Original Message-----
> From: Sander Smith [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, September 12, 2004 9:02 PM
> To: [EMAIL PROTECTED]
> Subject: Changing the server name in response headers
> 
> I'm sure this is simple, I just can't figure out how to do 
> it. I want to 
> change the name (type) of the server that gets returned in the HTTP 
> response header. Currently it is returning Apache-Coyote XX, 
> but I'd rather 
> it return something more meaningful for me. How do I do this?
> 
> I grepped through the Tomcat source code, and found that it calls
> 
> response.addHeader("Server", "Apache- Coyote");
> 
> I tried adding my own similar header, but that didn't work. I 
> guess Tomcat 
> gets to it last and probably wins because of that. I couldn't 
> see any other 
> way of overcoming this. Anyone have any ideas?? Maybe there's some 
> configuration option, or preferably some programmatic way to do this.
> 
> Sander Smith
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to