TRACE Method关闭,网站打不开啦,求救,怎么啦{已更新请看此帖}
在/www/wdlinux/apache/conf/httpd.conf
末尾加上一行
TraceEnable off
重起
service httpd restart
如果还不行,则在/www/wdlinux/apache/conf/vhost
目录下的每个配置文件的</Virturlhost>前面增加
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^[b][color=#ff0000][b][color=#ff0000]TRACE[/color][/b][/color][/b]
RewriteRule .* - [F]
重起
service httpd restart
然后
Internet Explorer 无法显示该页面
重启httpd服务出现以下错误:
stopping httpd: [FAILED]
starting httpd:Syntax error on line 202 of /www/wdlinux/httpd-2.2.22/conf/httpd.conf
LogFormat take 1-2 arguments, a log format string (see docs) and an optional format name [FAILED]
帮帮忙看看这是怎么回事。 把增加的那几行去掉再重起试试看
看错误信息,不是添加那几行的原因
还有,不要一贴多发.
页:
[1]