You can get the server string in the header down to a minimum (Just 'Apache')
by putting
ServerTokens ProductOnly
on your httpd.conf. (Only supported after 1.3.12)
You can then use ap_add_version_component (C API) to add stuff after that.

IMHO you should at least mention  'Apache' and 'mod_perl' in the header so we
look good on netcraft. Or if you must, you can change the whole thing in the
src, I think it's src/include/httpd.h

~mark.

Alistair Mills wrote:

> >On Tue, 1 May 2001, will trillich wrote:
> >
> > On Tue, May 01, 2001 at 12:10:34PM -0700, Randal L. Schwartz wrote:
> > > >>>>> "newsreader" == newsreader  <[EMAIL PROTECTED]> writes:
> > >
> > > newsreader> randal s. posted a way to do that
> > > newsreader> sometime back.  search for it in
> > > newsreader> the archive.  his stonehenge
> > > newsreader> website apparently uses the same trick.
> > >
> > > If he's already doing it in the fixup phase, that's where I'm doing it
> > > too, so that's probably not going to work.
> >
> > is it actually possible via perl?
> >
> > according to doug at
> >       http://www.geocrawler.com/archives/3/182/1997/6/0/1014229/
> > we shouldn't get our hopes up.
> >
>
> I struggled to find a way of sending out a custom server response using
> Perl.
>
> Instead I want into into the Apache source to get it to print out a
> non-stanard server Apache response - I'm sure there might be an easier
> way though?
>
> --
> [EMAIL PROTECTED]
> http://www.kplworks.com/
>
> > --
> > [EMAIL PROTECTED]
> > http://sourceforge.net/projects/newbiedoc -- we need your brain!
> > http://www.dontUthink.com/ -- your brain needs us!
> >

--
Mark Maunder
[EMAIL PROTECTED]
http://swiftcamel.com/

 Try not.
 Do.
 Or do not.
 There is no try.
         ~yoda


Reply via email to