« 简单介绍一个文件、目录的比较、同步工具 Beyond Compare 2.3 Build 230 | Main | sed 一个小强文本操作工具 替换、插入新语句打开httpd server-status mod_status »
May 30, 2005
ServerTokens ProductOnly 和 ServerSignature Off 微调 Apache 的返回信息
|
版权声明:可以任意转载,转载时请务必以超链接形式标明文章原始出处和作者信息及本声明。 http://windtear.net/archives/2005/05/30/000676.html http://windtear.net/archives/2005/05/30/000676.html apache 的 httpd.conf 有两个配置可以控制是否显示服务器信息给用户 ServerTokens ServerSignature 默认条件下会把apache版本 系统 模块都显示出来 (HTTP 返回头) 还有如果列举目录的话 会显示域名信息(文件列表正文) (http://httpd.apache.org/docs/mod/core.html表明ServerSignature已经默认Off了) 如果不想要就可以调这两个参数 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 |
Posted by windtear at May 30, 2005 6:55 PM
Trackback Pings
TrackBack URL for this entry:
http://cgi.windtear.net/cgi-bin/wt-tb.cgi/676
Comments
Post a comment
【我爱网络】
2007-12-31 23:51 2007年度 ipcn.org/ipchina.org 总结报告
2007-12-31 00:31 vmware gsx server service
2007-12-31 00:15 squid 对 404 302 缓存的相关问题
2007-12-30 14:24 升级到 MovableType 3.3x 并修改 entry_basename 兼容性
2007-12-30 13:52 [php] realip judge 前面补0的ip格式剔除
2007-12-14 16:34 rm -rf * 系统管理员要排查的定时炸弹
2007-12-13 19:03 山西的宽带运营商太过分了 私自窜改dns解析
2007-12-13 16:35 F5 MIB 再学习 唯一性标记用地址的小bug
2007-12-11 22:15 perl 用Spreadsheet::WriteExcel写了个处理/读写excel的小程序
2007-12-11 13:39 perl 变量转义的问题