2007年07月31日 的存档

隐藏Apache服务器的配置信息

在Apache的配置文件httpd.conf中,有两个配置选项可以控制显示给用户的信息:

ServerTokens,ServerSignature

配置说明:ServerSignature On|Off|EMail
ServerTokens Minimal|ProductOnly|OS|Full

ServerTokens Prod[uctOnly]
Server sends (e.g.): Server: Apache
ServerTokens Min[imal]
Server sends (e.g.): Server: Apache/1.3.0
ServerTokens OS
Server sends (e.g.): Server: Apache/1.3.0 (Unix)
ServerTokens Full (or not specified)
Server sends (e.g.): Server: Apache/1.3.0 (Unix) PHP/3.0 MyMod/1.2

Popularity: 16% [?]

发表评论 2007年07月31日