curl -X TRACE 127.0.0.1 | grep TRACE
TRACE / HTTP/1.1
が返ってくると、TRACEメソッドが有効です。(OFFにしましょう!)
vi /etc/httpd/conf/httpd.conf
次の設定をファイルのどこかに記述します
# HTTP TRACE method off
TraceEnable off
apachectl configtest
apachectl restart
curl -X TRACE 127.0.0.1 | grep TRACE
<p>The requested method TRACE is not allowed for the URL /.</p>
が返って来ればOKです。