[Catalyst] Remove X-Catalyst header (Apache)

Paul Makepeace paulm at paulm.com
Thu Aug 11 16:44:11 GMT 2011


On Thu, Aug 11, 2011 at 17:32, Stefan Profanter <catalyst at s.profanter.me> wrote:
> Hi,
>
> i’m using Catalyst and Apache2 with mod_perl to create a new website.

You could remove it in Apache, I think,

http://httpd.apache.org/docs/current/mod/mod_headers.html#header

Header unset X-Catalyst

Paul

>
> But if I analyze the headers, there is always „X-Catalyst 5.80033“.
>
> For security reasons I want to disable this header.
>
>
>
> How can I remove it?
>
> It seems that Catalyst adds it by default because in my files I can’t find
> anything like
>     $c->response->headers->header( 'X-Catalyst' => $Catalyst::VERSION );
>
> or similiar.
>
>
>
> Thanks!
>
> Stefan
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>
>



More information about the Catalyst mailing list