You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@httpd.apache.org by André Malo <nd...@perlig.de> on 2002/09/09 16:10:51 UTC

Re: [PATCH] ServerSignature default value is "On", not "Off"

* Kevin Lo wrote:

> According to
> http://httpd.apache.org/docs/mod/core.html#serversignature, the
> default value of ServerSignature is "On" not "Off". 

hmm, are you sure?

From apache-1.3/src/main/http_core.c:

API_EXPORT(const char *) ap_psignature(const char *prefix, request_rec
*r) {
    char sport[20];
    core_dir_config *conf;

    conf = (core_dir_config *)ap_get_module_config(r->per_dir_config,
						   &core_module);
    if ((conf->server_signature == srv_sig_off)
	    || (conf->server_signature == srv_sig_unset)) {
	return "";
    }

[...]

I'd guess that means, default is "Off".

nd
-- 
package Hacker::Perl::Another::Just;print
qq~@{[reverse split/::/ =>__PACKAGE__]}~;

#  André Malo  #  http://www.perlig.de  #

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [PATCH] ServerSignature default value is "On", not "Off"

Posted by André Malo <nd...@perlig.de>.
* Thomas Sjögren wrote:

> On Monday 09 September 2002 07.10, André Malo wrote:
>> * Kevin Lo wrote:
>> > According to
>> > http://httpd.apache.org/docs/mod/core.html#serversignature, the
>> > default value of ServerSignature is "On" not "Off".
>>
>> hmm, are you sure?
> 
> From a default httpd.conf:
[...]

yes, I know. but <default> doesn't say "defined in distributed
httpd.conf", rather than: 

| if you omit it from your configuration entirely, the Apache Web server
| will behave as though you set it to a particular value

nd
-- 
Real programmers confuse Christmas and Halloween because
DEC 25 = OCT 31.  -- Unknown

                                      (found in ssl_engine_mutex.c)

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [PATCH] ServerSignature default value is "On", not "Off"

Posted by André Malo <nd...@perlig.de>.
* Dirk-Willem van Gulik wrote:

>> the directive in the default httpd.conf.  It is unfortunate and
>> confusing that these are not always the same, but it is a fact.
> 
> One confsion to make sure we fix in 2.x

hmm... what do you think about "If Unset" or just "Unset" instead?
(which are correct, but not really self-explaining, IMHO)

nd
-- 
die (eval q-qq:Just Another Perl Hacker
:-)

# André Malo, <http://www.perlig.de/> #

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [PATCH] ServerSignature default value is "On", not "Off"

Posted by Dirk-Willem van Gulik <di...@webweaving.org>.

On Mon, 9 Sep 2002, Joshua Slive wrote:

> Thomas Sj�gren wrote:
> > On Monday 09 September 2002 07.10, Andr� Malo wrote:
> >
> >>* Kevin Lo wrote:
> >>
> >>>According to
> >>>http://httpd.apache.org/docs/mod/core.html#serversignature, the
> >>>default value of ServerSignature is "On" not "Off".
> >>
> >>hmm, are you sure?
> >
> >
> > From a default httpd.conf:
>
> Default in the docs refers to the configuration state when the directive
> is not present in the config file.  It does not refer to the setting of
> the directive in the default httpd.conf.  It is unfortunate and
> confusing that these are not always the same, but it is a fact.

One confsion to make sure we fix in 2.x

Dw


---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [PATCH] ServerSignature default value is "On", not "Off"

Posted by Joshua Slive <jo...@slive.ca>.
Thomas Sjögren wrote:
> On Monday 09 September 2002 07.10, André Malo wrote:
> 
>>* Kevin Lo wrote:
>>
>>>According to
>>>http://httpd.apache.org/docs/mod/core.html#serversignature, the
>>>default value of ServerSignature is "On" not "Off".
>>
>>hmm, are you sure?
> 
> 
> From a default httpd.conf:

Default in the docs refers to the configuration state when the directive 
is not present in the config file.  It does not refer to the setting of 
the directive in the default httpd.conf.  It is unfortunate and 
confusing that these are not always the same, but it is a fact.

Joshua.



---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Re: [PATCH] ServerSignature default value is "On", not "Off"

Posted by Thomas Sjögren <th...@northernsecurity.net>.
On Monday 09 September 2002 07.10, André Malo wrote:
> * Kevin Lo wrote:
> > According to
> > http://httpd.apache.org/docs/mod/core.html#serversignature, the
> > default value of ServerSignature is "On" not "Off".
>
> hmm, are you sure?

From a default httpd.conf:

#
# Optionally add a line containing the server version and virtual host
# name to server-generated pages (error documents, FTP directory 
listings,
# mod_status and mod_info output etc., but not CGI generated documents).
# Set to "EMail" to also include a mailto: link to the ServerAdmin.
# Set to one of:  On | Off | EMail
#
ServerSignature On


/Thomas
-- 
thomas@northernsecurity | thomas@se.linux.org

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org