tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: How to hide x-poweredBY response header
Date Tue, 04 Aug 2009 15:21:33 GMT
> From: acastanheira2001 [mailto:acastanheira2001@yahoo.com.br]
> Subject: Re: How to hide x-poweredBY response header
> 
> My conf/web.xml config is:
> <!-- ================== Common filter Configuration ==================== -->
> <filter>
>  <filter-name>CommonHeadersFilter</filter-name>
>  <filter-class>org.jboss.web.tomcat.filters.ReplyHeaderFilter</filter-class>
>  <init-param>
>   <param-name>X-Powered-By</param-name>
>   <param-value>Servlet 2.4; JBoss-4.2.0.GA_CP02 (build:
> SVNTag=JBPAPP_4_2_0_GA_CP02 date=200801291544)/Tomcat-5.5</param-value>
>  </init-param>
> </filter>

To repeat what Mark said: the above is a *JBoss*-supplied filter, not part of Tomcat.  You'll
have to discuss its operation with JBoss support.

As a guess, if you just remove the above filter, that will get rid of the header.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.

Mime
View raw message