Re: modify Server header via a handler

2001-05-11 Thread Matt Sergeant
On Tue, 8 May 2001, Doug MacEachern wrote: On Wed, 2 May 2001, Matt Sergeant wrote: Right, but the problem is you can't do this after module initialization (which is where mod_perl adds it's bits), but the PerlModule's are loaded after that time, so you can't do it from Perl, at least

Re: modify Server header via a handler

2001-05-08 Thread Doug MacEachern
On Wed, 2 May 2001, Matt Sergeant wrote: Right, but the problem is you can't do this after module initialization (which is where mod_perl adds it's bits), but the PerlModule's are loaded after that time, so you can't do it from Perl, at least not without a major re-design of the mod_perl

Re: modify Server header via a handler

2001-05-02 Thread Alistair Mills
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

Re: modify Server header via a handler

2001-05-02 Thread Mark Maunder
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'

Re: modify Server header via a handler

2001-05-02 Thread Matt Sergeant
On Wed, 2 May 2001, Mark Maunder wrote: 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. Right, but

Re: modify Server header via a handler

2001-05-02 Thread Richard Chen
On Wed, May 02, 2001 at 03:22:51PM +0100, Matt Sergeant wrote: On Wed, 2 May 2001, Mark Maunder wrote: 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

Re: modify Server header via a handler

2001-05-02 Thread Alistair Mills
On Wed, 2 May 2001, Richard Chen wrote: On Wed, May 02, 2001 at 03:22:51PM +0100, Matt Sergeant wrote: On Wed, 2 May 2001, Mark Maunder wrote: You can get the server string in the header down to a minimum (Just 'Apache') by putting ServerTokens ProductOnly on your httpd.conf.

Re: modify Server header via a handler

2001-05-02 Thread Matt Sergeant
On Wed, 2 May 2001, Richard Chen wrote: On Wed, May 02, 2001 at 03:22:51PM +0100, Matt Sergeant wrote: On Wed, 2 May 2001, Mark Maunder wrote: You can get the server string in the header down to a minimum (Just 'Apache') by putting ServerTokens ProductOnly on your httpd.conf.

Re: modify Server header via a handler

2001-05-02 Thread Larry Leszczynski
Hi Matt - Actually I lied! It is possible, though only from XS. I just added a module_init section to AxKit's config directives, and now I get: # HEAD http://axkit.org/ | grep Server Server: Apache/1.3.17 (Unix) AxKit (1.3_96) mod_perl/1.25 Now you just need the Netcraft folks to start

Re: modify Server header via a handler

2001-05-02 Thread Matt Sergeant
On Wed, 2 May 2001, Larry Leszczynski wrote: Hi Matt - Actually I lied! It is possible, though only from XS. I just added a module_init section to AxKit's config directives, and now I get: # HEAD http://axkit.org/ | grep Server Server: Apache/1.3.17 (Unix) AxKit (1.3_96)

modify Server header via a handler

2001-05-01 Thread Richard Chen
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);

RE: modify Server header via a handler

2001-05-01 Thread Geoffrey Young
-Original Message- From: Richard Chen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 01, 2001 2:51 PM To: [EMAIL PROTECTED] Subject: modify Server header via a handler I would like to customize or suppress the Server header from the modperl server responses such as this: see

Re: modify Server header via a handler

2001-05-01 Thread newsreader
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

Re: modify Server header via a handler

2001-05-01 Thread Randal L. Schwartz
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

Re: modify Server header via a handler

2001-05-01 Thread will trillich
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