在apache中修復host頭攻擊漏洞的方法
通過在apache執行以下命令即可對host頭攻擊漏洞進行修復。
Header always append X-Frame-Options SAMEORIGIN
Header set X-XSS-Protection "1; mode=block"
Header set X-Content-Type-Options nosniff
Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"