

下面就具体列出 Nginx 和 Apache 的 解决方案
Nginx 解决方案
在 nginx.conf 配置文件 的 网站配置区域中添加如下代码片段
if ($request_method !~ ^(GET|POST)$ ) {
return 403;
}
Apache 解决方案
在站点配置文件 .htaccess 中添加如下代码片段
<location></location>
<limitexcept get="" post="">
Order Allow,Deny
Deny from all
</limitexcept>
至此,改漏洞均已修复
评论1
暂时没有评论