Upon searching on Google, I came accross Apache mod_headers. mod_headers This module provides directives to control and modify HTTP request and response headers. Headers can be merged, replaced or removed.
If you key the following as-is, you'll see mod_headers for the latest version of Apache: mod_headers "Version 2.2" -"List-Post" site:httpd.apache.org ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ If a similar functionality is not available on Tomcat , you could connect Tomcat to Apache http://tomcat.apache.org/faq/connectors.html I haven't tried the above and can't provide additional help/details. -Rashmi ----- Original Message ---- From: Peter Kennard <[EMAIL PROTECTED]> To: Tomcat Users List <users@tomcat.apache.org> Sent: Friday, March 16, 2007 3:24:46 PM Subject: Explicit header definition If I want to remove or alter headers that are the "default" for a specific servlet, webapp or instance of tomcat, how might I? Either programmtically or in a config file. ie: - remove or replace the "Date:" header. - remove or replace the "Server:" header. The reasoning is for servicing a special client's requests. I would still want other "browser" serving servlets in the same tomcat instance to use the normal headers. Thanks. PK --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ____________________________________________________________________________________ Don't get soaked. Take a quick peek at the forecast with the Yahoo! Search weather shortcut. http://tools.search.yahoo.com/shortcuts/#loc_weather --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]