停用 Apache2 服务器的跟踪方法

在标准生产操作中,使用诊断可以揭示导致数据受到威胁的未发现漏洞。要防止误用数据,请停用 HTTP
Trace
方法。
  1. 要验证 Apache2 服务器的
    Trace
    方法,请运行以下命令
    grep TraceEnable /usr/lib/vmware-vcopssuite/utilities/conf/vcops-apache.conf
  2. 要对 Apache2 服务器停用
    Trace
    方法,请运行以下命令
    sed -i "/^[^#]*TraceEnable/ c\TraceEnable off" /usr/lib/vmware-vcopssuite/utilities/conf/vcops-apache.conf