randal s. posted a way to do that
sometime back. search for it in
the archive. his stonehenge
website apparently uses the same trick.
On Tue, May 01, 2001 at 02:51:14PM -0400, Richard Chen wrote:
> I would like to customize or suppress the Server header
> from the modperl server responses such as this:
>
> Server: Apache/1.3.19 (Unix) mod_perl/1.25 mod_ssl/2.8.1 OpenSSL/0.9.6
>
> I thought I could simply set up a Fixup handler to do this:
>
> package NoServerInfo;
> use Apache::Constants qw(:common);
> sub handler {
> my $r=shift;
> $r->header_out(Server => 'Foo Bar');
> return OK;
> }
> 1;
>
> But this does not seem to work. Is there some kind of restriction
> about this particular header in modperl? Without modifying
> the source code, is there a way to customize this Server header field?
>
> Thanks for any info
>
> Richard