httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: [PATCH] ServerSignature default value is "On", not "Off"
Date Mon, 09 Sep 2002 14:10:51 GMT
* 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


Mime
View raw message