免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3884 | 回复: 4
打印 上一主题 下一主题

[FreeBSD] 使用curl查看网站的显示,如何隐藏系统名称freebsd的 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-07-31 11:04 |只看该作者 |倒序浏览

  1. HTTP/1.1 200 OK
  2. Date: Sun, 31 Jul 2011 10:47:35 GMT
  3. Server: Apache/2.2.17 (FreeBSD) mod_ssl/2.2.17 OpenSSL/0.9.8q DAV/2 PHP/5.2.17 w
  4. ith Suhosin-Patch SVN/1.6.15
  5. Last-Modified: Sat, 30 Jul 2011 22:54:27 GMT
  6. Accept-Ranges: bytes
  7. Content-Length: 33197
  8. Vary: Accept-Encoding
  9. Content-Type: text/html
复制代码
看了一下新浪的

  1. C:\Documents and Settings\Administrator>curl -I http://www.sina.com.cn
  2. HTTP/1.0 200 OK
  3. Date: Sun, 31 Jul 2011 02:42:55 GMT
  4. Server: Apache/2.0.63 (Unix)
  5. Last-Modified: Sun, 31 Jul 2011 02:41:50 GMT
  6. Accept-Ranges: bytes
  7. X-Powered-By: mod_xlayout_jh/0.0.1vhs.markIII.remix
  8. Cache-Control: max-age=60
  9. Expires: Sun, 31 Jul 2011 02:43:55 GMT
  10. Vary: Accept-Encoding
  11. X-UA-Compatible: IE=EmulateIE7
  12. Content-Type: text/html
  13. Age: 30
  14. Content-Length: 553753
  15. X-Cache: HIT from xd33-90.HP08040029.sina.com.cn
  16. Connection: close
复制代码
想实现类似新浪的这种不显示服务器的操作系统信息,如何设置的?

论坛徽章:
0
2 [报告]
发表于 2011-07-31 11:26 |只看该作者
找到了解决办法.见:http://blog.haohtml.com/archives/10761

论坛徽章:
0
3 [报告]
发表于 2011-07-31 16:26 |只看该作者
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
4 [报告]
发表于 2011-08-05 14:32 |只看该作者
也想知道完美答案

论坛徽章:
0
5 [报告]
发表于 2011-08-05 14:33 |只看该作者
nginx呢?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP