隐藏Apache服务器的配置信息
2007年07月31日 Crazy Loong 2,959 views
在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% [?]
归类于:服务器技术
发表评论
允许使用的 HTML 标签:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>