隐藏Apache服务器的配置信息

2007年07月31日 Crazy Loong 1,115 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%

归类于:服务器技术

引用 (Trackback) 这篇文章  |  订阅这篇文章的评论RSS

发表评论

必填

必填,不公开

:hehe: :haha: :dsadsad: :dsadasccc: ^O^ :ooo: :dsadas:

允许使用的 HTML 标签:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>