Board logo

标题: [求助] 如何关闭TRACE Method [打印本页]

作者: ias    时间: 2012-8-31 09:29     标题: 如何关闭TRACE Method

如何关闭TRACE Method
作者: admin    时间: 2012-8-31 09:58


/www/wdlinux/apache/conf/httpd.conf
末尾加上一行
TraceEnable off
重起
service httpd restart

如果还不行,则在/www/wdlinux/apache/conf/vhost
目录下的每个配置文件的</Virturlhost>前面增加
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
重起
service httpd restart
作者: ias    时间: 2012-9-1 15:33


/www/wdlinux/apache/conf/httpd.conf
末尾加上一行
TraceEnable off
重起
service httpd restart

所有网站无法访问
作者: admin    时间: 2012-9-1 15:54

提示什么?
作者: ias    时间: 2012-9-1 20:02

本帖最后由 ias 于 2012-9-1 20:03 编辑

所有站点都是

  Internet Explorer 无法显示该网页
   
   您可以尝试以下操作:
     您可能已经连接到 Internet,但您可能希望尝试重新连接到 Internet。  

     重新键入地址。  

     返回到上一页。

   最可能的原因是:
•未连接到 Internet。
•该网站遇到了问题。
•在地址中可能存在键入错误。
但是
http://www.xxx.xx:8080/ 可以登录wdcp
作者: ias    时间: 2012-9-1 20:13

[root@wdOS ~]# service httpd restart
停止 httpd:                                               [失败]
启动 httpd:Syntax error on line 203 of /www/wdlinux/httpd-2.2.22/conf/httpd.con                                                                              f:
LogFormat takes 1-2 arguments, a log format string (see docs) and an optional fo                                                                              rmat name
                                                           [失败]
[root@wdOS ~]# service httpd restart
停止 httpd:                                               [失败]
启动 httpd:Syntax error on line 203 of /www/wdlinux/httpd-2.2.22/conf/httpd.con                                                                              f:
LogFormat takes 1-2 arguments, a log format string (see docs) and an optional fo                                                                              rmat name
                                                           [失败]
[root@wdOS ~]#
作者: ias    时间: 2012-9-1 20:18

如果还不行,则在/www/wdlinux/apache/conf/vhost
目录下的每个配置文件的</Virturlhost>前面增加
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
重起
service httpd restart

[root@wdOS ~]# service httpd restart
停止 httpd:                                               [失败]
启动 httpd:Syntax error on line 203 of /www/wdlinux/httpd-2.2.22/conf/httpd.conf:
LogFormat takes 1-2 arguments, a log format string (see docs) and an optional format name
                                                           [失败]
作者: ias    时间: 2012-9-1 20:18

重启服务器也没作用
作者: admin    时间: 2012-9-1 21:58

去掉试试
作者: ias    时间: 2012-9-2 12:01

本帖最后由 ias 于 2012-9-2 12:04 编辑

去掉 问题依旧 重启数次无效 重启服务器 无效 ,无奈昨晚 备份 下载 重做系统 恢复。因为
360网站安全检测 的一个检测结果网站安全检测详情
漏洞等级漏洞名称漏洞危害存在漏洞的网页地址
提示
发现服务器启用了TRACE Method
1. 恶意攻击者可以通过TRACE Method返回的信息了解到网站前端的一些信息,如缓存服务器等,从而为下一步的攻击提供便利。
  • xxx.xxxx.xxx


又折腾了 一天。
作者: admin    时间: 2012-9-2 12:53

去掉也不行,那就不是你做的这个修改问题,而是其它问题
作者: ias    时间: 2012-9-2 12:56

有人试过么?成功么?
作者: chen7413    时间: 2012-9-16 01:37

大哥们,出来解决哈嘛,就是上这样的操作。害死我了。网站打不开了。
作者: testu    时间: 2013-4-11 11:43

回复 13# chen7413


   解决了吗?
作者: taoboacn    时间: 2013-9-21 19:40

我的使用在
/www/wdlinux/apache/conf/httpd.conf
末尾加上一行
TraceEnable off
重起
service httpd restart

这个方法完美解决,已经通过360安全检测了




欢迎光临 WDlinux官方论坛 (http://wdlinux.cn/bbs/) Powered by Discuz! 7.2