Thursday, June 7, 2007

Server Header in Apache Tomcat

Altough you cannot disable the header, you can change it to anything you like by adding a "server" attribute to the connector tag in server.xml
e.g.

<connector
port="80" address="localhost"
...
server="Undefined"
>

2 comments:

  1. This was changed earlier this year. Configuring a blank server header in server.xml will cause it to go away.

    ReplyDelete
  2. Hey Jim, Do you know to which tomcat version this applies?

    ReplyDelete

[Due to much spam, comments are now moderated and will be posted after review]

Note: Only a member of this blog may post a comment.